Editing Template:Sourceheader

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 9: Line 9:
 
|-
 
|-
 
|class="header_backlink" | {{#if:{{{previous|}}}|<span id="headerprevious">←{{{previous}}}</span>}}
 
|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}}}|<span id="header_author_text">{{{author}}}</span>}}}}</i>}}}} {{#if:{{{year|}}}|<span style="color:#999999">in the year {{{year}}}</span>}} {{#if:{{{translator|}}}|{{#switch:{{lc:{{{translator|}}}}}
+
|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|}}}}}
 
| ? =&nbsp;([[:Category:Deletion requests/Unknown translators|unknown translator]])
 
| ? =&nbsp;([[:Category:Deletion requests/Unknown translators|unknown translator]])
 
| unknown =, ''unknown translator''
 
| unknown =, ''unknown translator''
 
| not mentioned =, ''translator not mentioned''
 
| not mentioned =, ''translator not mentioned''
| pensapedia =<i>, translated by [[Pensapedia:Translations|<span id="header_translator_text">Pensapedia</span>]]</i>{{#ifeq:{{BASEPAGENAME}}|{{PAGENAME}}|[[Category:Pensapedia translations]]}}
+
| 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>|{{{translator}}}|<span id="header_translator_text">{{{translator}}}</span></i>}}
+
|<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>}}
 
}}}}{{#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_forelink" | {{#if:{{{next|}}}|<span id="headernext">{{{next}}}→</span>}}
Line 38: Line 38:
 
  |{{#expr:{{{translator}}}}} = [[Category:Sources using the author field hack]]
 
  |{{#expr:{{{translator}}}}} = [[Category:Sources using the author field hack]]
 
}}{{#ifeq:{{lc:{{{override_author|{{{author|}}}}}}}}|unknown|[[Category:Anonymous texts]]}}
 
}}{{#ifeq:{{lc:{{{override_author|{{{author|}}}}}}}}|unknown|[[Category:Anonymous texts]]}}
{{#if:{{{year|}}}|[[Category:{{{year}}} sources]]}}
+
{{#if:{{{year|}}}|[[Category:{{{year}}} works]]}}
 
</includeonly><noinclude>
 
</includeonly><noinclude>
 
{{Sourceheader/doc}}
 
{{Sourceheader/doc}}
 
</noinclude>
 
</noinclude>

Please note that all contributions to Pensapedia, the Pensacola encyclopedia are considered to be released under the GNU Free Documentation License 1.2 (see Pensapedia:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)