Шаблон:Component — различия между версиями

Материал из RPGround Wiki
Перейти к: навигация, поиск
м
м
 
(не показано 7 промежуточных версий этого же участника)
Строка 1: Строка 1:
{{#if:{{{exited|}}}|<font color=gray>}}{{#if:{{{master|}}}|Master components:<br>}}'''{{{1}}}''' {{#if:{{{2|}}}|({{{2}}}) }}{{#if:{{{traits|}}}|<br>- {{#replace:{{{traits}}}|, |<br>* }} }}{{#if:{{{exited|}}}|</font>}}
+
{{#if:{{{exited|}}}|<font color=#AAAAAA>}}{{#if:{{{master|}}}|Master component:<br>}}{{#if:{{{eliminated|}}}|<s>}}'''{{{1}}}'''{{#if:{{{eliminated|}}}|</s>}} {{#if:{{{2|}}}|({{{2}}}) }}{{#if:{{{traits|}}}|<br>- {{#replace:{{{traits}}}|, |<br>- }} }}{{#if:{{{exited|}}}|</font>}}<noinclude>
 +
 
 +
== Usage ==
 +
 
 +
Use for recording a component. Best used with {{Tl|Components-4}} and {{Tl|Components-12}} templates. Only the title is mandatory, all other arguments are optional. "Control" is useful for indicating who is controlling this component, by the first letter of player's name.
 +
 
 +
<pre><nowiki>{{Component| title |control| traits = list, of, traits
 +
| master = 1, if master component; omit if not.
 +
| exited = 1, if component was exited; omit if not.
 +
| eliminated = 1, if component was eliminated; omit if not.
 +
}}</nowiki></pre>
 +
 
 +
Example:
 +
 
 +
<pre><nowiki>{{Component| Pyro, a red dragon |J| traits = flies, breather fire, bad temper}}</nowiki></pre>
 +
 
 +
Result:
 +
 
 +
{{Component| Pyro, a red dragon |J| traits = flies, breathes fire, bad temper}}
 +
[[Category:Data templates]][[Category:Universalis wiki templates]]</noinclude>

Текущая версия на 22:59, 7 июня 2009

{{{1}}}

Usage[править]

Use for recording a component. Best used with {{Components-4}} and {{Components-12}} templates. Only the title is mandatory, all other arguments are optional. "Control" is useful for indicating who is controlling this component, by the first letter of player's name.

{{Component| title |control| traits = list, of, traits
| master = 1, if master component; omit if not.
| exited = 1, if component was exited; omit if not.
| eliminated = 1, if component was eliminated; omit if not.
}}

Example:

{{Component| Pyro, a red dragon |J| traits = flies, breather fire, bad temper}}

Result:

Pyro, a red dragon (J)
- {{#replace:flies, breathes fire, bad temper|, |
- }}