Jump to content

Template:Header2: Difference between revisions

From IdeaWazaWiki
wikademia>Pathoschild
simplified back/next link code, + tracking category for dirty link detection hack
wikademia>Pathoschild
m grouped old tracking categoy with the others, tweak
Line 13: Line 13:
| wikisource =<i>, translated by [[Wikisource:Translations|Wikisource]]</i>{{#ifeq:{{BASEPAGENAME}}|{{PAGENAME}}|[[Category:Wikisource translations]]}}
| 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>}}
|<i>, translated by {{#ifeq:{{#expr:{{{translator}}}}}|<strong class="error">Expression error: Unrecognised punctuation character "["</strong>|{{{translator}}}</i>|[[Author:{{{translator}}}|{{{translator}}}]]</i>}}
}}}}{{#if:{{{override_author|}}}|[[Category:Pages with override author]]}}{{#if:{{{section|}}}|<br />{{{section|}}}}}
}}}}{{#if:{{{section|}}}|<br />{{{section|}}}}}
|class="header_forelink" | {{#if:{{{previous|}}}|<span id="headernext">{{{next}}}→</span>}}
|class="header_forelink" | {{#if:{{{previous|}}}|<span id="headernext">{{{next}}}→</span>}}
|}
|}
Line 29: Line 29:
  |{{#ifexist:{{#rel2abs:../../../}}|1}} = [[Category:Subpages]]
  |{{#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>
track pages using the dirty link-detection hacks -->{{#switch:<strong class="error">Expression error: Unrecognised punctuation character "["</strong>
  |{{#expr:{{{author}}}}}
  |{{#expr:{{{author}}}}}
  |{{#expr:{{{translator}}}}} = [[Category:Author pages using the author field hack]]
  |{{#expr:{{{translator}}}}} = [[Category:pages using the author field hack]]
}}</includeonly><noinclude>
}}</includeonly><noinclude>
{{documentation|Template:Header/doc}}
{{documentation|Template:Header/doc}}
</noinclude>
</noinclude>

Revision as of 22:59, 4 April 2008

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