Шаблон:Components-12 — различия между версиями
Материал из RPGround Wiki
EvilCat (обсуждение | вклад) м |
EvilCat (обсуждение | вклад) |
||
(не показаны 2 промежуточные версии этого же участника) | |||
Строка 5: | Строка 5: | ||
| width=200 | {{{3|}}} | | width=200 | {{{3|}}} | ||
| width=200 | {{{4|}}}{{#if:{{{5|}}}| | | width=200 | {{{4|}}}{{#if:{{{5|}}}| | ||
− | {{!}}- | + | {{!}}- valign=top |
{{!}} {{{5|}}} | {{!}} {{{5|}}} | ||
{{!}} {{{6|}}} | {{!}} {{{6|}}} | ||
Строка 12: | Строка 12: | ||
}} | }} | ||
{{#if:{{{9|}}}| | {{#if:{{{9|}}}| | ||
− | {{!}}- | + | {{!}}- valign=top |
{{!}} {{{9|}}} | {{!}} {{{9|}}} | ||
{{!}} {{{10|}}} | {{!}} {{{10|}}} | ||
Строка 18: | Строка 18: | ||
{{!}} {{{12|}}} | {{!}} {{{12|}}} | ||
}} | }} | ||
− | |} | + | |}<noinclude> |
+ | |||
+ | == Usage == | ||
+ | |||
+ | Use this template to organize statblocks (for example, {{Tl|Component|Components}} ) into a neat table. Supports up to 12 cells (4 by 3). | ||
+ | |||
+ | Example: | ||
+ | <pre><nowiki>{{Components-12 | ||
+ | | '''Location''': A Pizzahut in Ohio | ||
+ | | '''John''', a Pizzahut waiter | ||
+ | | {{Component|Mary, a FBI agent|traits=paranoid, Bilbo's owner}} | ||
+ | | '''Bilbo''', a guard dog | ||
+ | | '''Fact''': dogs are secretly sentient and plan to take over the world. | ||
+ | }}</nowiki></pre> | ||
+ | |||
+ | Result: | ||
+ | |||
+ | {{Components-12 | ||
+ | | '''Location''': A Pizzahut in Ohio | ||
+ | | '''John''', a Pizzahut waiter | ||
+ | | {{Component|Mary, a FBI agent|traits=paranoid, Bilbo's owner}} | ||
+ | | '''Bilbo''', a guard dog | ||
+ | | '''Fact''': dogs are secretly sentient and plan to take over the world. | ||
+ | }} | ||
+ | |||
+ | == See also == | ||
+ | * {{Tl|Components-4}} | ||
+ | |||
+ | [[ru:Template:Сетка]] | ||
+ | [[Category:Data wiki templates]]</noinclude> |
Текущая версия на 18:15, 8 июня 2009
Usage[править]
Use this template to organize statblocks (for example, {{Components}} ) into a neat table. Supports up to 12 cells (4 by 3).
Example:
{{Components-12 | '''Location''': A Pizzahut in Ohio | '''John''', a Pizzahut waiter | {{Component|Mary, a FBI agent|traits=paranoid, Bilbo's owner}} | '''Bilbo''', a guard dog | '''Fact''': dogs are secretly sentient and plan to take over the world. }}
Result:
Location: A Pizzahut in Ohio | John, a Pizzahut waiter | Mary, a FBI agent - {{#replace:paranoid, Bilbo's owner|, | - }} |
Bilbo, a guard dog |
Fact: dogs are secretly sentient and plan to take over the world. |
See also[править]
- {{Components-4}}