Nodyn:Header: Gwahaniaeth rhwng fersiynau
Cynnwys wedi'i ddileu Cynnwys wedi'i ychwanegu
Mahagaja (sgwrs | cyfraniadau) Crewyd tudalen newydd yn dechrau gyda '<!-- make sure no parameters are removed --><includeonly>{{#switch:undef! |{{{title|undef!}}} |{{{author|undef!}}} |{{{section|undef!}}} |{{{previous|unde…' |
Mahagaja (sgwrs | cyfraniadau) Dim crynodeb golygu |
||
Llinell 1: | Llinell 1: | ||
{| style="width:100%; margin-bottom:5px; border: 1px solid #ADA; background-color: #E4F2E4; text-align:center; font-size:0.9em;" |
|||
<!-- 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 [[Nodyn:Header#documentation|template documentation]]).'''</div> [[Categori:Headers missing parameters]]}}</includeonly> |
|||
{| class="headertemplate" id="headertemplate" |
|||
|- |
|- |
||
| style="width:20%; text-align:left;" | {{{previous|}}} |
|||
|class="header_backlink" | {{#if:{{{previous|}}}|<span id="headerprevious">←{{{previous}}}</span>}} |
|||
| style="width:60%;" | '''{{{title|Untitled}}}''' {{{section|}}}<br />''by {{{override_author|[[:Categori:{{{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|}}}}} |
|||
| style="width:20%; text-align:right;" | {{{next|}}} |
|||
| ? = ([[:Categori: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}}|[[Categori: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>}} |
|||
|} |
|} |
||
{| style="width:100%; border-bottom:1px solid #A88; background:#fAfAff; font-size:0.9em;" |
|||
{| class="header_notes" |
|||
|- |
|- |
||
| {{{notes}}} |
| {{{notes|}}} |
||
|} <noinclude>[[Category:Article templates|{{PAGENAME}}]]</noinclude> |
|||
|}<includeonly><!-- |
|||
unknown translator -->{{#switch:{{{translator}}} |
|||
|? |
|||
|unknown = {{No translator info}} |
|||
}}<!-- |
|||
subpages -->{{#ifeq:{{BASEPAGENAME}}|{{PAGENAME}}||{{#switch:1 |
|||
|{{#ifexist:{{#rel2abs:../}}|1}} |
|||
|{{#ifexist:{{#rel2abs:../../}}|1}} |
|||
|{{#ifexist:{{#rel2abs:../../../}}|1}} = [[Categori:{{#if:{{NAMESPACE}}|{{NAMESPACE}} subpages|Subpages}}]] |
|||
}}}}<!-- |
|||
track pages using the author override-->{{#if:{{{override_author|}}}|[[Categori:Pages 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}}}}} = [[Categori:pages using the author field hack]] |
|||
}}{{#ifeq:{{lc:{{{override_author|{{{author|}}}}}}}}|unknown|[[Categori:Anonymous texts]]}}</includeonly><noinclude> |
|||
[[Categori:Exclude in print]] |
|||
{{documentation|Template:Header/doc}} |
|||
</noinclude> |
Fersiwn yn ôl 11:33, 17 Mawrth 2009
Untitled by [[:Categori:|unknown]] |