Jump to content

Template:Header: Difference between revisions

From IdeaWazaWiki
wikademia>Pathoschild
+ subpage categorization
wikademia>Academia
m 53 revisions
 
(25 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{| class="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:Header#documentation|template documentation]]).'''</div> [[Category:Headers missing parameters]]}}</includeonly>
{| class="headertemplate" id="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}}}]]}}}''}}}
|class="header_title"   | '''<span id="header_title_text">{{{title|Untitled}}}</span>''' {{#if:{{{override_author|}}}|<br /><i><span id="header_author_text">{{{override_author}}}</span></i>|{{#if:{{{author}}}|{{#if:{{{section|}}}| |<br/>}}<i>by {{#ifeq:{{#expr:{{{author}}}}}|<strong class="error">Expression error: Unrecognised punctuation character "["</strong>|{{{author}}}</i>|{{#ifeq:{{lc:{{{override_author|{{{author|}}}}}}}}|unknown|<span id="header_author_text">Unknown</span>|[[Author:{{{author}}}|<span id="header_author_text">{{{author}}}</span>]]}}}}</i>}}}}{{#if:{{{translator|}}}|{{#switch:{{lc:{{{translator|}}}}}
| class="header_forelink" | {{{next|}}}
| ? =&nbsp;([[:Category:Deletion requests/Unknown translators|unknown translator]])
| unknown =, ''unknown translator''
| not mentioned =, ''translator not mentioned''
| wikisource =<i>, translated by [[Wikisource:Translations|<span id="header_translator_text">Wikisource</span>]]</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}}}|<span id="header_translator_text">{{{translator}}}</span>]]</i>}}
}}}}{{#if:{{{section|}}}|<br /><span id="header_section_text">{{{section|}}}</span>}}
|class="header_forelink" | {{#if:{{{next|}}}|<span id="headernext">{{{next}}}→</span>}}
|}
|}
{| class="header_notes"
{| class="header_notes"
|-  
|-
| {{{notes|}}}
| {{{notes}}}
|}{{#ifeq:{{BASEPAGENAME}}|{{PAGENAME}}||[[Category:Subpages]]}}<noinclude>[[Category:Article templates|{{PAGENAME}}]]
|}<includeonly><!--
[[ca:Plantilla:Encapçalament]]
unknown translator -->{{#switch:{{{translator}}}
[[cs:Šablona:NavigacePaP]]
|?
[[da:Skabelon:Header]]
|unknown = {{No translator info}}
[[el:Πρότυπο:Τίτλος]]
}}<!--
[[es:Plantilla:Encabezado]]
subpages -->{{#ifeq:{{BASEPAGENAME}}|{{PAGENAME}}||{{#switch:1
[[et:Mall:Päis]]
|{{#ifexist:{{#rel2abs:../}}|1}}
[[fa:الگو:سرصفحه]]
|{{#ifexist:{{#rel2abs:../../}}|1}}
[[fi:Malline:Otsikko]]
|{{#ifexist:{{#rel2abs:../../../}}|1}} = [[Category:{{#if:{{NAMESPACE}}|{{NAMESPACE}} subpages|Subpages}}]]
[[fr:Modèle:Titre]]
}}}}<!--
[[hr:Predložak:Niz]]
 
[[hu:Sablon:Fej]]
track pages using the author override-->{{#if:{{{override_author|}}}|[[Category:Pages with override author]]}}<!--
[[la:Formula:Titulus2]]
 
[[no:Mal:Topp]]
track pages using the dirty link-detection hacks -->{{#switch:<strong class="error">Expression error: Unrecognised punctuation character "["</strong>
[[pt:Predefinição:Navegar]]
|{{#expr:{{{author}}}}}
[[ro:Format:Titlu]]
|{{#expr:{{{translator}}}}} = [[Category:pages using the author field hack]]
[[ru:Шаблон:Заголовок]]
}}{{#ifeq:{{lc:{{{override_author|{{{author|}}}}}}}}|unknown|[[Category:Anonymous texts]]}}</includeonly><noinclude>
[[sl:Predloga:Naslov]]
[[Category:Exclude in print]]
[[sv:Mall:Titel]]
{{documentation|Template:Header/doc}}
[[uk:Шаблон:Заголовок]]
[[zh:Template:Header]]
</noinclude>
</noinclude>
<br clear=all />

Latest revision as of 06:13, 7 March 2009

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