Template:Header2: Difference between revisions
Appearance
wikademia>Pathoschild moved metadata to documentation, use {{documentation}} with previously existing documentation |
wikademia>Pathoschild m restored template display on template page |
||
| Line 1: | Line 1: | ||
<includeonly><!-- make sure no parameters are removed -->{{#ifexpr:(0{{#ifeq:{{{title|blank!}}}|blank!|1}}{{#ifeq:{{{author|blank!}}}|blank!|1}}{{#ifeq:{{{section|blank!}}}|blank!|1}}{{#ifeq:{{{previous|blank!}}}|blank!|1}}{{#ifeq:{{{next|blank!}}}|blank!|1}}{{#ifeq:{{{notes|blank!}}}|blank!|1}})>0|<div style="text-align:center; border:1px solid #CCC; font-size:0.9em;">'''template error: please do not remove empty parameters (see the [[WS:STYLE#Templates|style guide]] and [[template talk:header#documentation|template documentation]]).'''</div> [[Category:Headers missing parameters]]}} | <includeonly><!-- make sure no parameters are removed -->{{#ifexpr:(0{{#ifeq:{{{title|blank!}}}|blank!|1}}{{#ifeq:{{{author|blank!}}}|blank!|1}}{{#ifeq:{{{section|blank!}}}|blank!|1}}{{#ifeq:{{{previous|blank!}}}|blank!|1}}{{#ifeq:{{{next|blank!}}}|blank!|1}}{{#ifeq:{{{notes|blank!}}}|blank!|1}})>0|<div style="text-align:center; border:1px solid #CCC; font-size:0.9em;">'''template error: please do not remove empty parameters (see the [[WS:STYLE#Templates|style guide]] and [[template talk:header#documentation|template documentation]]).'''</div> [[Category:Headers missing parameters]]}}</includeonly> | ||
{| class="headertemplate" | {| class="headertemplate" | ||
|- | |- | ||
| Line 12: | Line 12: | ||
{| class="header_notes" | {| class="header_notes" | ||
|- | |- | ||
| {{{notes | | {{{notes}}} | ||
|}{{#ifeq:{{#expr:{{{previous|}}}}}|<span class="error">Expression error: Unrecognised punctuation character "�"</span>|[[Category:Header2 pages with arrow in previous param]]}}{{#ifeq:{{{translator|}}}|?| | |}<includeonly>{{#ifeq:{{#expr:{{{previous|}}}}}|<span class="error">Expression error: Unrecognised punctuation character "�"</span>|[[Category:Header2 pages with arrow in previous param]]}}{{#ifeq:{{{translator|}}}|?| | ||
{{No translator info}}}}{{#if:{{{override_author|}}}|[[Category:Pathosbot]]}}{{#ifeq:{{BASEPAGENAME}}|{{PAGENAME}}||{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}|[[Category:Subpages]]}}}}</includeonly><noinclude> | {{No translator info}}}}{{#if:{{{override_author|}}}|[[Category:Pathosbot]]}}{{#ifeq:{{BASEPAGENAME}}|{{PAGENAME}}||{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}|[[Category:Subpages]]}}}}</includeonly><noinclude> | ||
{{documentation|Template:Header/doc}} | {{documentation|Template:Header/doc}} | ||
</noinclude> | </noinclude> | ||