9,487
edits
Changes
getting started
<!-- 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.'''</div> [[Category:Sources missing header parameters]]}}</includeonly>
{| class="headertemplate" id="headertemplate"
|-
|class="header_backlink" | {{#if:{{{previous|}}}|<span id="headerprevious">←{{{previous}}}</span>}}
|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:{{{year|}}}|<span style="color:#999999">in the year {{{year}}}</span>}} {{#if:{{{translator|}}}|{{#switch:{{lc:{{{translator|}}}}}
| ? = ([[: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>}}
}}}}{{#ifeq:{{lc:{{{override_translator|translated by {{{override_translator|}}}}}}}}}}{{#if:{{{section|}}}|<br /><span id="header_section_text">{{{section|}}}</span>}}
|class="header_forelink" | {{#if:{{{next|}}}|<span id="headernext">{{{next}}}→</span>}}
|}
{| class="header_notes"
|-
| {{{notes}}}
|}<includeonly><!--
unknown translator -->{{#switch:{{{translator}}}
|?
|unknown = {{No translator info}}
}}<!--
subpages -->{{#ifeq:{{BASEPAGENAME}}|{{PAGENAME}}||{{#switch:1
|{{#ifexist:{{#rel2abs:../}}|1}}
|{{#ifexist:{{#rel2abs:../../}}|1}}
|{{#ifexist:{{#rel2abs:../../../}}|1}} = [[Category:{{#if:{{NAMESPACE}}|{{NAMESPACE}} subpages|Subpages}}]]
}}}}<!--
track pages using the author override-->{{#if:{{{override_author|}}}|[[Category:Sources with override author]]}}<!--
track pages using the dirty link-detection hacks -->{{#switch:<strong class="error">Expression error: Unrecognised punctuation character "["</strong>
|{{#expr:{{{author}}}}}
|{{#expr:{{{translator}}}}} = [[Category:Sources using the author field hack]]
}}{{#ifeq:{{lc:{{{override_author|{{{author|}}}}}}}}|unknown|[[Category:Anonymous texts]]}}
{{#if:{{{year|}}}|[[Category:{{{year}}} works]]}}
</includeonly><noinclude>
{{documentation|Template:Sourceheader/doc}}
</noinclude>
|{{{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.'''</div> [[Category:Sources missing header parameters]]}}</includeonly>
{| class="headertemplate" id="headertemplate"
|-
|class="header_backlink" | {{#if:{{{previous|}}}|<span id="headerprevious">←{{{previous}}}</span>}}
|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:{{{year|}}}|<span style="color:#999999">in the year {{{year}}}</span>}} {{#if:{{{translator|}}}|{{#switch:{{lc:{{{translator|}}}}}
| ? = ([[: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>}}
}}}}{{#ifeq:{{lc:{{{override_translator|translated by {{{override_translator|}}}}}}}}}}{{#if:{{{section|}}}|<br /><span id="header_section_text">{{{section|}}}</span>}}
|class="header_forelink" | {{#if:{{{next|}}}|<span id="headernext">{{{next}}}→</span>}}
|}
{| class="header_notes"
|-
| {{{notes}}}
|}<includeonly><!--
unknown translator -->{{#switch:{{{translator}}}
|?
|unknown = {{No translator info}}
}}<!--
subpages -->{{#ifeq:{{BASEPAGENAME}}|{{PAGENAME}}||{{#switch:1
|{{#ifexist:{{#rel2abs:../}}|1}}
|{{#ifexist:{{#rel2abs:../../}}|1}}
|{{#ifexist:{{#rel2abs:../../../}}|1}} = [[Category:{{#if:{{NAMESPACE}}|{{NAMESPACE}} subpages|Subpages}}]]
}}}}<!--
track pages using the author override-->{{#if:{{{override_author|}}}|[[Category:Sources with override author]]}}<!--
track pages using the dirty link-detection hacks -->{{#switch:<strong class="error">Expression error: Unrecognised punctuation character "["</strong>
|{{#expr:{{{author}}}}}
|{{#expr:{{{translator}}}}} = [[Category:Sources using the author field hack]]
}}{{#ifeq:{{lc:{{{override_author|{{{author|}}}}}}}}|unknown|[[Category:Anonymous texts]]}}
{{#if:{{{year|}}}|[[Category:{{{year}}} works]]}}
</includeonly><noinclude>
{{documentation|Template:Sourceheader/doc}}
</noinclude>