Template:ListofCards: Difference between revisions
From Unforgotten Realms Wiki
Jump to navigationJump to search
imported>Razorhead m Corrected Title on Usage |
imported>Pillowkeeper mNo edit summary |
||
| (5 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<noinclude> | |||
Maximum rows is 100 due to limitations in the looping parser. | Maximum rows is 100 due to limitations in the looping parser. | ||
<pre>{{ListofCards | <pre>{{ListofCards | ||
|collapsed= | |||
|title= | |title= | ||
|titleback= | |titleback= | ||
| Line 6: | Line 8: | ||
|tableback= | |tableback= | ||
|tablebord= | |tablebord= | ||
|titlefont= | |||
|tblfont= | |||
|name1= | |name1= | ||
... | ... | ||
| Line 13: | Line 17: | ||
</noinclude> | </noinclude> | ||
<table width="250px" border="0" cellspacing="0" class="wikitable sortable mw-collapsible"> | <table width="250px" border="0" cellspacing="0" class="wikitable sortable mw-collapsible {{{collapsed}}}"> | ||
<tr> | <tr> | ||
<th style="color: | <th style="color:{{{titlefont}}};background:{{{titleback}}};border:1px solid {{{titlebord}}}; padding:1em; margin:auto;">{{{title}}}</th> | ||
</tr> | </tr> | ||
<tr style="color: | <tr style="color:{{{tblfont}}}; background:{{{tableback}}}; margin:auto; border:1px solid {{{tablebord}}}}; text-align:center" id="{{{name1}}}"> | ||
<td>{{{name1}}}</td> | <td>{{{name1}}}</td> | ||
</tr> | </tr> | ||
| Line 26: | Line 30: | ||
| {{{ name{{#var: i }} | }}} | | {{{ name{{#var: i }} | }}} | ||
| | | | ||
<tr id ="{{{name{{#var: i }}}}}" style="color: | <tr id ="{{{name{{#var: i }}}}}" style="color:{{{tblfont}}}; background:{{{tableback}}}; margin:auto; border:1px solid {{{tableback}}}; text-align:center"> | ||
<td>{{{name{{#var: i }}}}}</td> | <td>{{{name{{#var: i }}}}}</td> | ||
</tr> | </tr> | ||
{{ #vardefine: i | {{ #expr: {{ #var: i }} + 1 }} }} | {{ #vardefine: i | {{ #expr: {{ #var: i }} + 1 }} }} | ||
}} | }} | ||
</table> | </table> | ||
Latest revision as of 14:51, 6 June 2015
Maximum rows is 100 due to limitations in the looping parser.
{{ListofCards
|collapsed=
|title=
|titleback=
|titlebord=
|tableback=
|tablebord=
|titlefont=
|tblfont=
|name1=
...
}}
| {{{title}}} |
|---|
| {{{name1}}} |


