Difference between revisions of "Template:InfoboxMultiproperty"
From Istaria Lexica
m |
|||
Line 399: | Line 399: | ||
#if:{{{398|}}}|{{#if:{{{limiter|}}}|{{{limiter}}}|, }}[[{{{property}}}::{{#if:{{{398|}}}|{{{398|}}}}}]]}}{{ | #if:{{{398|}}}|{{#if:{{{limiter|}}}|{{{limiter}}}|, }}[[{{{property}}}::{{#if:{{{398|}}}|{{{398|}}}}}]]}}{{ | ||
#if:{{{399|}}}|{{#if:{{{limiter|}}}|{{{limiter}}}|, }}[[{{{property}}}::{{#if:{{{399|}}}|{{{399|}}}}}]]}}{{ | #if:{{{399|}}}|{{#if:{{{limiter|}}}|{{{limiter}}}|, }}[[{{{property}}}::{{#if:{{{399|}}}|{{{399|}}}}}]]}}{{ | ||
− | #if:{{{400|}}}|{{#if:{{{limiter|}}}|{{{limiter}}}|, }}[[{{{property}}}::{{#if:{{{400|}}}|{{{400|}}}}}]]}} }}<noinclude>{{Clr}}{{Documentation}}[[Category:Infobox Templates]]</noinclude> | + | #if:{{{400|}}}|{{#if:{{{limiter|}}}|{{{limiter}}}|, }}[[{{{property}}}::{{#if:{{{400|}}}|{{{400|}}}}}]]}} }}<noinclude>{{Clr}}{{Documentation}}[[Category:Infobox Templates]][[Category:Non-standalone Templates]]</noinclude> |
Revision as of 10:30, 22 September 2022
Template documentation (for the template shown above, sometimes hidden or invisible)
Description[edit]
Sets multiples values for a provided property name and enlists those as a comma separated list.
- limited to 200 values, may be enhanced if necessary.
- Try out this template in your sandbox
- Find pages using this template
Syntax[edit]
{{InfoboxMultiproperty|property=|limiter=|value1|value2|...}}
Parameters[edit]
{{InfoboxMultiproperty | property = the property name to be set (ex. Loot, School, Race) | limiter = a limiter for every entry. Default to comma, may also use html stuff like <br /> | value1 the first value to be set | value2 the second value to be set | valueN.. the N-th value to be set, repeat until you're done }}
Example[edit]
{{InfoboxMultiproperty | property = school | limiter = <br /> | Dragon Adventurer | Enchanter | Warrior | Ranger | Tinkerer | Carpenter }}
Visit Template:InfoboxMultiproperty/doc to edit this text. (How to: document correctly)