Jump to content

Template:Header: Difference between revisions

From IdeaWazaWiki
wikademia>Pathoschild
rm deleted tracking categories (no longer needed, bot corrects these automatically)
wikademia>Pathoschild
************* merged template:header2 (see history divergence: http://en.wikisource.org/wiki/Template:Header?oldid=146166&diff=245006, list of discussions: User:Pathosbot#header2 *************
Line 1: Line 1:
{| class="headertemplate" id="headertemplate"
<!-- make sure no parameters are removed --><includeonly>{{#switch:undef!
|{{{title|undef!}}}
|{{{author|undef!}}}
|{{{section|undef!}}}
|{{{previous|undef!}}}
|{{{next|undef!}}}
|{{{notes|undef!}}} = <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="header_backlink" | {{{previous|}}}
|class="header_backlink" | {{#if:{{{previous|}}}|<span id="headerprevious">←{{{previous}}}</span>}}
| class="header_title" | '''{{{title|Untitled}}}''' {{{section|}}}{{{noauthor|<br />''by {{{override_author|[[Author:{{{author|}}}|{{{author|unknown}}}]]}}}''}}}{{#ifeq:{{{override_author|}}}|||[[Category:Pages with override author]]}}
|class="header_title"   | '''{{{title|Untitled}}}''' {{#if:{{{override_author|}}}|<br /><i>{{{override_author}}}</i>|{{#if:{{{author}}}|{{#if:{{{section|}}}| |<br/>}}<i>by {{#ifeq:{{#expr:{{{author}}}}}|<strong class="error">Expression error: Unrecognised punctuation character "["</strong>|{{{author}}}</i>|[[Author:{{{author}}}|{{{author}}}]]}}</i>}}}}{{#if:{{{translator|}}}|{{#switch:{{lc:{{{translator|}}}}}
| class="header_forelink" | {{{next|}}}
| ? =&nbsp;([[:Category:Deletion requests/Unknown translators|unknown translator]])
| wikisource =<i>, translated by [[Wikisource:Translations|Wikisource]]</i>{{#ifeq:{{BASEPAGENAME}}|{{PAGENAME}}|[[Category:Wikisource translations]]}}
|<i>, translated by {{#ifeq:{{#expr:{{{translator}}}}}|<strong class="error">Expression error: Unrecognised punctuation character "["</strong>|{{{translator}}}</i>|[[Author:{{{translator}}}|{{{translator}}}]]</i>}}
}}}}{{#if:{{{section|}}}|<br />{{{section|}}}}}
|class="header_forelink" | {{#if:{{{next|}}}|<span id="headernext">{{{next}}}→</span>}}
|}
|}
{| class="header_notes"
{| class="header_notes"
|-  
|-
| {{{notes|}}}
| {{{notes}}}
|}{{#ifeq:{{BASEPAGENAME}}|{{PAGENAME}}||{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}|[[Category:Subpages]]}}}}<br clear=all /><noinclude>{{pp-template}}{{documentation}}</noinclude>
|}<includeonly><!--
unknown translator -->{{#switch:{{{translator}}}
|?
|unknown = {{No translator info}}
}}<!--
subpages -->{{#ifeq:{{BASEPAGENAME}}|{{PAGENAME}}||{{#switch:1
|{{#ifexist:{{#rel2abs:../}}|1}}
|{{#ifexist:{{#rel2abs:../../}}|1}}
|{{#ifexist:{{#rel2abs:../../../}}|1}} = [[Category:Subpages]]
}}}}<!--
 
track pages using the author override-->{{#if:{{{override_author|}}}|[[Category:Pages with override author]]}}<!--
 
track pages using the dirty link-detection hacks -->{{#switch:<strong class="error">Expression error: Unrecognised punctuation character "["</strong>
|{{#expr:{{{author}}}}}
|{{#expr:{{{translator}}}}} = [[Category:pages using the author field hack]]
}}</includeonly><noinclude>
{{documentation|Template:Header/doc}}
</noinclude>

Revision as of 07:52, 8 May 2008

Untitled
by [[Author:{{{author}}}|{{{author}}}]]
{{{notes}}}
[create] Template documentation