Difference between revisions of "Template:Header"
Jump to navigation
Jump to search
imported>Ivanhoe (Created page with "<!-- Begin headerContainer wrapper --><div id="headerContainer" class="ws-noexport noprint"><!-- Make sure no parameters are removed --><includeonly> {{#switch:undef! |{{{...") |
imported>Ivanhoe |
||
Line 14: | Line 14: | ||
|{{{next|undef!}}} | |{{{next|undef!}}} | ||
|{{{notes|undef!}}} = <div style="margin-right:auto; margin-left:auto; border-top:1px solid #CCC; border-right:1px solid #CCC; border-bottom:1px hidden transparent; border-left:1px solid #CCC; text-align:center;"><span class="error" style="font-size:90%; font-weight:bold;">template error: please do not remove empty parameters.</span></div><!-- | |{{{notes|undef!}}} = <div style="margin-right:auto; margin-left:auto; border-top:1px solid #CCC; border-right:1px solid #CCC; border-bottom:1px hidden transparent; border-left:1px solid #CCC; text-align:center;"><span class="error" style="font-size:90%; font-weight:bold;">template error: please do not remove empty parameters.</span></div><!-- | ||
− | |||
− | |||
− | |||
-->}}<!--end switch--></includeonly><!-- | -->}}<!--end switch--></includeonly><!-- | ||
Line 48: | Line 45: | ||
Year-->{{#if:{{{year|}}}{{{override_year|}}}<!-- | Year-->{{#if:{{{year|}}}{{{override_year|}}}<!-- | ||
-->|{{#if:{{{override_year|}}}<!-- | -->|{{#if:{{{override_year|}}}<!-- | ||
− | -->| ({{{override_year}}}) | + | -->| ({{{override_year}}}) <!-- |
-->|{{header/year<!-- | -->|{{header/year<!-- | ||
-->|{{{year}}}<!-- unaltered user input | -->|{{{year}}}<!-- unaltered user input | ||
Line 80: | Line 77: | ||
Link known authors to the author namespace | Link known authors to the author namespace | ||
− | -->{{#ifexist: Author:{{{author}}} || | + | -->{{#ifexist: Author:{{{author}}} || }} [[Author:{{{author}}}|<span id="header_author_text" class="vcard"><span class="fn">{{{author}}}</span></span>]]}}</i>}}}}<!-- |
Editor field - only if needed | Editor field - only if needed | ||
Line 88: | Line 85: | ||
-->{{#switch:{{lc:{{{override_editor|{{{editor|}}}}}}}}<!-- | -->{{#switch:{{lc:{{{override_editor|{{{editor|}}}}}}}}<!-- | ||
− | -->| ? | unknown=, ''editor unknown'' | + | -->| ? | unknown=, ''editor unknown''<!-- |
− | -->| not mentioned =, ''editor not mentioned'' | + | -->| not mentioned =, ''editor not mentioned''<!-- |
Switch default - the given editor | Switch default - the given editor | ||
Line 107: | Line 104: | ||
-->{{#switch:{{lc:{{{override_translator|{{{translator|}}}}}}}}<!-- | -->{{#switch:{{lc:{{{override_translator|{{{translator|}}}}}}}}<!-- | ||
-->| not mentioned =, ''translator not mentioned''<!-- | -->| not mentioned =, ''translator not mentioned''<!-- | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
-->| unknown =, ''unknown translator''{{No translator info}}<!-- | -->| unknown =, ''unknown translator''{{No translator info}}<!-- | ||
Line 237: | Line 228: | ||
|{{#ifexist:{{#rel2abs:../}}|1}} | |{{#ifexist:{{#rel2abs:../}}|1}} | ||
|{{#ifexist:{{#rel2abs:../../}}|1}} | |{{#ifexist:{{#rel2abs:../../}}|1}} | ||
− | |{{#ifexist:{{#rel2abs:../../../}}|1}} | + | |{{#ifexist:{{#rel2abs:../../../}}|1}} |
}}}}<!-- | }}}}<!-- | ||
Line 244: | Line 235: | ||
|{{#invoke:String|replace|{{#invoke:String|replace|{{#invoke:String|replace|{{{categories}}}|([%w'%s-]-)%s?/%s?|[[Category:%1]]|plain=false}}|([%w'%s-]-)$|[[Category:%1]]|plain=false}}|%[%[Category:%]%]||plain=false}} | |{{#invoke:String|replace|{{#invoke:String|replace|{{#invoke:String|replace|{{{categories}}}|([%w'%s-]-)%s?/%s?|[[Category:%1]]|plain=false}}|([%w'%s-]-)$|[[Category:%1]]|plain=false}}|%[%[Category:%]%]||plain=false}} | ||
}}<!-- | }}<!-- | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
END OF NON-VISIBLE CONTENT | END OF NON-VISIBLE CONTENT |