Шаблон:Components-12 — различия между версиями
Материал из RPGround Wiki
EvilCat (обсуждение | вклад) (Created page with '{| border=1 |- valign=top | width=200 | {{{1|}}} | width=200 | {{{2|}}} | width=200 | {{{3|}}} | width=200 | {{{4|}}}{{#if:{{{5|}}}| {{!}}- {{!}} {{{5|}}} {{!}} {{{6|}}} {{!}} {{...') |
EvilCat (обсуждение | вклад) |
||
(не показаны 3 промежуточные версии этого же участника) | |||
Строка 5: | Строка 5: | ||
| width=200 | {{{3|}}} | | width=200 | {{{3|}}} | ||
| width=200 | {{{4|}}}{{#if:{{{5|}}}| | | width=200 | {{{4|}}}{{#if:{{{5|}}}| | ||
− | {{!}}- | + | {{!}}- valign=top |
{{!}} {{{5|}}} | {{!}} {{{5|}}} | ||
{{!}} {{{6|}}} | {{!}} {{{6|}}} | ||
{{!}} {{{7|}}} | {{!}} {{{7|}}} | ||
{{!}} {{{8|}}} | {{!}} {{{8|}}} | ||
− | }}{{#if:{{{9|}}}| | + | }} |
− | {{!}}- | + | {{#if:{{{9|}}}| |
+ | {{!}}- valign=top | ||
{{!}} {{{9|}}} | {{!}} {{{9|}}} | ||
{{!}} {{{10|}}} | {{!}} {{{10|}}} | ||
Строка 17: | Строка 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}}