Anonymous

Template:Section: Difference between revisions

From Elwiki
m
no edit summary
mNo edit summary
mNo edit summary
Line 8: Line 8:
| value
| value
| {{#ifexpr:{{#if:{{#var:value|}}|1|0}} and {{Isnumeric|{{#var:key|}}}}|<td id="{{#var:key}}" style="padding: 0.5em;{{{Style|}}};{{{Style{{#var:key|}}|}}}">{{{Content{{#var:key|}}|}}}</td>}}}}</tr>
| {{#ifexpr:{{#if:{{#var:value|}}|1|0}} and {{Isnumeric|{{#var:key|}}}}|<td id="{{#var:key}}" style="padding: 0.5em;{{{Style|}}};{{{Style{{#var:key|}}|}}}">{{{Content{{#var:key|}}|}}}</td>}}}}</tr>
</table></includeonly><noinclude>{{DISPLAYTITLE:Section}}
</table></includeonly><noinclude>__TOC__{{DISPLAYTITLE:Section}}
{{Section
{{Section
| Color0=lightgreen
| Color0=lightgreen
Line 47: Line 47:
# The lines under each header are stated in '''''TitleSty''''' or '''''TitleSty###''''' rather than '''''TitleStys'''''.
# The lines under each header are stated in '''''TitleSty''''' or '''''TitleSty###''''' rather than '''''TitleStys'''''.
# Default padding in headlines and contents is 0.5em.
# Default padding in headlines and contents is 0.5em.
# Link anchor can link to ''Section'' headers. (e.g. <nowiki>[[7-4#Mobs:|'''Mobs''']]</nowiki> can link to 7-4's Mobs section.)
# You need __<nowiki/>TOC__ to show TOC of the Sections.
</span>
</span>
}}
}}