Difference between revisions of "Template:Header"

From No Subject - Encyclopedia of Psychoanalysis
Jump to: navigation, search
Line 10: Line 10:
 
  |{{{title|undef!}}}
 
  |{{{title|undef!}}}
 
  |{{{author|undef!}}}
 
  |{{{author|undef!}}}
|{{{section|undef!}}}
 
 
  |{{{previous|undef!}}}
 
  |{{{previous|undef!}}}
 
  |{{{next|undef!}}}
 
  |{{{next|undef!}}}
Line 69: Line 68:
 
     Normal author
 
     Normal author
 
     -->{{#if:{{{author}}}|<!--
 
     -->{{#if:{{{author}}}|<!--
 
        Insert a line break if page is *not* a section page
 
        -->{{#if:{{{section|}}}|&#32;|<br/>}}<!--
 
        --><i>by <!--
 
  
 
         Catch unknown authors
 
         Catch unknown authors
Line 96: Line 91:
 
         -->|#default=<i>{{#if:{{{author|}}}{{{override_author|}}}|,&#32;}}<!--
 
         -->|#default=<i>{{#if:{{{author|}}}{{{override_author|}}}|,&#32;}}<!--
 
          
 
          
          -->{{#if:{{{author|}}}{{{override_author|}}}||{{#if:{{{section|}}}||<br>}}}} edited by <!--
 
 
 
           --><span id="header_editor_text" class="vcard"><!--
 
           --><span id="header_editor_text" class="vcard"><!--
 
           --><span class="fn">{{#if:{{{override_editor|}}}|{{{override_editor}}}|{{#ifexist: Author:{{{editor}}} || <!-- only required main and translation ns:-->
 
           --><span class="fn">{{#if:{{{override_editor|}}}|{{{override_editor}}}|{{#ifexist: Author:{{{editor}}} || <!-- only required main and translation ns:-->
Line 136: Line 129:
 
-->}}<!--
 
-->}}<!--
  
Section field
 
-->{{#if:{{{section|}}}|<br /><span id="header_section_text">{{{section|}}}</span><!--
 
 
    Section author
 
    -->{{#if:{{{override_contributor|}}}{{{contributor|}}}|<!--
 
        --><i> by <span id="header_contributor_text" class="vcard"><!--
 
        --><span class="fn">{{#if:{{{override_contributor|}}}|{{{override_contributor}}}|{{#ifexist: Author:{{{contributor}}} || <!-- only required main and translation ns:-->
 
                        {{#switch: {{NAMESPACENUMBER}}
 
                              | 0
 
                              | 114=[[Category:Works with non-existent author pages]]
 
                              | #default = }}<!-- end of switch -->}}[[Author:{{{contributor}}}|{{{contributor}}}]]}}</span></span><!--
 
    --></i>}}<!--
 
 
end of section field
 
 
-->}}<!--
 
-->}}<!--
  
Line 191: Line 170:
 
-->|{{#if:<!--
 
-->|{{#if:<!--
 
-->{{{disambiguation|}}}<!--
 
-->{{{disambiguation|}}}<!--
-->{{{edition|}}}<!--
 
-->{{{portal|}}}<!--
 
 
-->{{{related_author|}}}<!--
 
-->{{{related_author|}}}<!--
 
-->{{{wikipedia|}}}<!--
 
-->{{{wikipedia|}}}<!--
Line 213: Line 190:
 
-->| disambiguation = {{{disambiguation|}}}<!--
 
-->| disambiguation = {{{disambiguation|}}}<!--
 
-->| edition = {{{edition|}}}<!--
 
-->| edition = {{{edition|}}}<!--
-->| portal = {{{portal|}}}<!--
 
 
-->| related_author = {{{related_author|}}}<!--
 
-->| related_author = {{{related_author|}}}<!--
 
-->| wikipedia = {{{wikipedia|}}}<!--
 
-->| wikipedia = {{{wikipedia|}}}<!--
Line 236: Line 212:
 
-->| disambiguation = {{{disambiguation|}}}<!--
 
-->| disambiguation = {{{disambiguation|}}}<!--
 
-->| edition = {{{edition|}}}<!--
 
-->| edition = {{{edition|}}}<!--
-->| portal = {{{portal|}}}<!--
 
 
-->| related_author = {{{related_author|}}}<!--
 
-->| related_author = {{{related_author|}}}<!--
 
-->| wikipedia = {{{wikipedia|}}}<!--
 
-->| wikipedia = {{{wikipedia|}}}<!--
Line 278: Line 253:
  
 
--><span id="ws-article-id">{{{{{|safesubst:}}}PAGEID}}</span><!--
 
--><span id="ws-article-id">{{{{{|safesubst:}}}PAGEID}}</span><!--
 
--><span id="ws-title">{{{title|}}}{{#if:{{{section|}}}|&#32;— ''{{{section}}}''}}</span><!--
 
  
 
-->{{#if:{{{author|}}}{{{override_author|}}}<!--
 
-->{{#if:{{{author|}}}{{{override_author|}}}<!--

Revision as of 21:09, 8 June 2019

Template documentation[create]