Template:Header2: Difference between revisions
Appearance
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:{{{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: | |{{#expr:{{{translator}}}}} = [[Category:pages using the author field hack]] | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
{{documentation|Template:Header/doc}} | {{documentation|Template:Header/doc}} | ||
</noinclude> | </noinclude> | ||