Jump to content

Template:Header2: Difference between revisions

From IdeaWazaWiki
wikademia>Jayvdb
m update voodoo to detect "["
wikademia>Academia
m 74 revisions
 
(21 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<div style="color:gray; font-size:0.8em;margin-bottom:0.1em;" id="permalinknote" class="plainlinks">The location and content of this page may change (use [{{fullurl:{{FULLPAGENAME}}}}?oldid={{REVISIONID}} the permanent link] for static citations).</div>
#redirect [[Template:Header]]
<includeonly><!-- make sure no parameters are removed -->{{#ifexpr:(0{{#ifeq:{{{title|blank!}}}|blank!|1}}{{#ifeq:{{{author|blank!}}}|blank!|1}}{{#ifeq:{{{section|blank!}}}|blank!|1}}{{#ifeq:{{{previous|blank!}}}|blank!|1}}{{#ifeq:{{{next|blank!}}}|blank!|1}}{{#ifeq:{{{notes|blank!}}}|blank!|1}})>0|<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" | {{#if:{{{previous|}}}{{{next|}}}|<span id="headerprevious">{{#if:{{{previous|}}}|←{{{previous}}}}}</span>}}
|class="header_title"    | '''{{{title|Untitled}}}''' {{#if:{{{section|}}}|({{{section|}}})}}{{#if:{{{override_author|}}}|<br />''{{{override_author}}}''|{{#if:{{{author}}}|<br />''by [[Author:{{{author}}}|{{{author}}}]]''}}}}{{#if:{{{translator|}}}|&nbsp;({{#switch:{{{translator|}}}
| ? =[[:Category:Deletion requests/Unknown translators|unknown translator]]
| wikisource =translated&nbsp;by&nbsp;[[Wikisource:Translations|Wikisource]]{{#ifeq:{{BASEPAGENAME}}|{{PAGENAME}}|[[Category:Wikisource translations]]}}
|translator:&nbsp;{{#ifeq:{{#expr:{{{translator}}}}}|<span class="error">Expression error: Unrecognised punctuation character "["</span>|{{{translator}}}|''[[Author:{{{translator}}}|{{{translator}}}]]''}}
}})}}{{#ifeq:{{{override_author|}}}|||[[Category:Pages with override author]]}}
|class="header_forelink" | {{#if:{{{previous|}}}{{{next|}}}|<span id="headernext">{{#if:{{{next|}}}|{{{next}}}→}}</span>}}
|}
{| class="header_notes"
|-
| {{{notes|}}}
|}{{#ifeq:{{#expr:{{{previous|}}}}}|<span class="error">Expression error: Unrecognised punctuation character "�"</span>|[[Category:Header2 pages with arrow in previous param]]}}{{#ifeq:{{{translator|}}}|?|
{{No translator info}}}}{{#if:{{{override_author|}}}|[[Category:Pathosbot]]}}{{#ifeq:{{BASEPAGENAME}}|{{PAGENAME}}||{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}|[[Category:Subpages]]}}}}<noinclude>
[[Category:Article templates|{{PAGENAME}}]]
 
[[da:Skabelon:Header]]
[[fr:Modèle:Titre]]
[[zh:Template:Header2]]
</noinclude>

Latest revision as of 06:13, 7 March 2009

Redirect to: