Difference between revisions of "MediaWiki:Proofreadpage header template"

From GATE
Line 2: Line 2:
 
  | title          = {{{title|}}}
 
  | title          = {{{title|}}}
 
  | author        = | override_author = {{{author|}}}
 
  | author        = | override_author = {{{author|}}}
  | translator     = | override_translator = {{{translator|}}}
+
  | recipient     = | override_translator = {{{translator|}}}
  | section        = {{{current|}}}
+
  | source     = | override_source = {{{source|}}}
| contributor    = {{{contributor|}}}
 
| previous      = {{{prev|}}}
 
| next          = {{{next|}}}
 
| year          = {{{year|}}}
 
| wikipedia      = {{{wikipedia|}}}
 
| commons        = {{{commons|}}}
 
| commonscat    = {{{commonscat|}}}
 
| wikiquote      = {{{wikiquote|}}}
 
| wikinews      = {{{wikinews|}}}
 
| wiktionary    = {{{wiktionary|}}}
 
| wikibooks      = {{{wikibooks|}}}
 
| wikiversity    = {{{wikiversity|}}}
 
| wikispecies    = {{{wikispecies|}}}
 
| meta          = {{{meta|}}}
 
| portal        = {{{portal|}}}
 
| related_author = {{{related_author|}}}
 
| disambiguation = {{{disambiguation|}}}
 
| wikilivres     = {{{wikilivres|}}}
 
| notes          = {{#if:{{{publisher|}}}|{{#if:{{{address|}}}|{{{address}}}: |}}{{{publisher}}} {{#if:{{{yeardate|}}}|({{{yeardate}}}). |}}}}{{#if:{{{from|}}}|{{#ifeq:{{{from}}}|{{{to}}}|page {{{from}}}|pages {{{from}}}-{{{to}}} }} }}{{{notes|}}}
 
| noby          = {{{noby|}}}
 
 
}}
 
}}
 
{{#ifeq:{{{value}}}|toc|{{{remarks}}}|}}<!-- NOT implementing another container !!!!
 
{{#ifeq:{{{value}}}|toc|{{{remarks}}}|}}<!-- NOT implementing another container !!!!

Revision as of 12:30, 19 December 2016


  • This template generates headers for the <pages/> command, when it is called with "header".
  • It takes its parameters from the index page.
  • Parameters from the index page can be overridden in the "pages" command.
  • Example:
<pages index="foo" header author="bar" />