Modèle:FAIRAnalysisHeader : Différence entre versions

(Reduce)
m (Don't need interwiki links between templates)
 
(23 révisions intermédiaires par 2 utilisateurs non affichées)
Ligne 1 : Ligne 1 :
<!-- make sure no parameters are removed --><includeonly>{{#switch:undef!
+
<!-- make sure no parameters are removed --><includeonly>
 +
 
 +
{{#switch:undef!
 
  |{{{title|undef!}}}
 
  |{{{title|undef!}}}
 
  |{{{author|undef!}}}
 
  |{{{author|undef!}}}
Ligne 5 : Ligne 7 :
 
  |{{{previous|undef!}}}
 
  |{{{previous|undef!}}}
 
  |{{{next|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 talk:header#documentation|template documentation]]).'''</div> [[Category:Headers missing parameters]]}}</includeonly>
+
  |{{{notes|undef!}}} = <div style="text-align:center; border:1px solid #CCC; font-size:0.9em;">'''template error: Do not remove empty parameters'''</div>}}</includeonly>
 
{| class="headertemplate" id="headertemplate"
 
{| class="headertemplate" id="headertemplate"
 
|-
 
|-
|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">A FAIR Analysis of: {{{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:{{{section|}}}|<br /><span id="header_section_text">{{{section|}}}</span>}}
+
|class="header_title"    | '''<span id="header_title_text"><div style="font-size:150%">A FAIR Analysis of: ''{{{title|Untitled}}}''</div></span>''' {{#if:{{{author}}}|<i>A work by author: {{{author}}}</i>}}<br><div style="font-size:150%">{{{section}}}</div>
|class="header_forelink" | {{#if:{{{next|}}}|<span id="headernext">{{{next}}}->>>></span>}}
+
|class="header_forelink" | {{#if:{{{next|}}}|<span id="headernext">{{{next}}}</span>}}
 
|}
 
|}
 
{| class="header_notes"
 
{| class="header_notes"
 
|-
 
|-
 
| {{{notes}}}
 
| {{{notes}}}
 +
|-
 +
|{{FAIRCopyright}}
 
|}<includeonly><!--
 
|}<includeonly><!--
unknown translator -->{{#switch:{{{translator}}}
 
|?
 
|unknown = {{No translator info}}
 
}}<!--
 
 
subpages -->{{#ifeq:{{BASEPAGENAME}}|{{PAGENAME}}||{{#switch:1
 
subpages -->{{#ifeq:{{BASEPAGENAME}}|{{PAGENAME}}||{{#switch:1
 
  |{{#ifexist:{{#rel2abs:../}}|1}}
 
  |{{#ifexist:{{#rel2abs:../}}|1}}
 
  |{{#ifexist:{{#rel2abs:../../}}|1}}
 
  |{{#ifexist:{{#rel2abs:../../}}|1}}
 
  |{{#ifexist:{{#rel2abs:../../../}}|1}} = [[Category:{{#if:{{NAMESPACE}}|{{NAMESPACE}} subpages|Subpages}}]]
 
  |{{#ifexist:{{#rel2abs:../../../}}|1}} = [[Category:{{#if:{{NAMESPACE}}|{{NAMESPACE}} subpages|Subpages}}]]
}}}}<!--
+
}}}}<noinclude>
 
 
track pages using the author override-->{{#if:{{{override_author|}}}|[[Category: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}}}}} = [[Category:pages using the author field hack]]
 
}}{{#ifeq:{{lc:{{{override_author|{{{author|}}}}}}}}|unknown|[[Category:Anonymous texts]]}}</includeonly><noinclude>
 
<!-- {{documentation|Template:Header/doc}} -->
 
 
</noinclude>
 
</noinclude>

Version actuelle datée du 6 juin 2017 à 14:28

A FAIR Analysis of: Untitled
A work by author: {{{author}}}
{{{section}}}
{{{notes}}}
Copyright © 2010 Foundation for Apologetic Information and Research. The content of this page may be not copied, published, or redistributed without the prior written consent of FAIR.