Difference between revisions of "MediaWiki:Proofreadpage header template"

From En JW United
Jump to navigation Jump to search
Line 2: Line 2:
 
<includeonly>{{header
 
<includeonly>{{header
 
  | title          = {{#invoke: LiteratureData | getNameOfLiteratureBasedOnLanguage |{{{wikibaseitem}}}|en}}
 
  | title          = {{#invoke: LiteratureData | getNameOfLiteratureBasedOnLanguage |{{{wikibaseitem}}}|en}}
  | volume          = {{{volume|}}}
+
  | volume          = {{#roman: {{#invoke: LiteratureData | getVolume |{{{WikibaseItem}}}|}}}} ({{#invoke: LiteratureData | getVolume |{{{wikibaseitem}}}|}})
  | number          = {{{number|}}}
+
  | number          = {{#invoke: LiteratureData | getNumber |{{{wikibaseitem}}}|}}
 
  | author        = | override_author = {{{author|}}}
 
  | author        = | override_author = {{{author|}}}
 
  | translator    = | override_translator = {{{translator|}}}
 
  | translator    = | override_translator = {{{translator|}}}

Revision as of 05:10, 25 October 2019

hello {{{wikibaseitem}}}


  • 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" />

[[Category: ]]