Difference between revisions of "MediaWiki:Proofreadpage header template"

From En JW United
Jump to navigation Jump to search
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
hello {{{wikibaseitem}}}
 
 
<includeonly>{{header
 
<includeonly>{{header
 
  | title          = {{#invoke: LiteratureData | getNameOfLiteratureBasedOnLanguage |{{{wikibaseitem}}}|en}}
 
  | title          = {{#invoke: LiteratureData | getNameOfLiteratureBasedOnLanguage |{{{wikibaseitem}}}|en}}
  | volume         = {{#roman: {{#invoke: LiteratureData | getVolume |{{{wikibaseitem}}}|}}}} ({{#invoke: LiteratureData | getVolume |{{{wikibaseitem}}}|}})
+
  | volume         = {{#invoke: LiteratureData | getVolume |{{{wikibaseitem}}}|}} ({{#roman: {{#invoke: LiteratureData | getVolume |{{{wikibaseitem}}}|}}}})
  | number         = {{#invoke: LiteratureData | getNumber |{{{wikibaseitem}}}|}}
+
  | number         = {{#invoke: LiteratureData | getNumber |{{{wikibaseitem}}}|}}
 
  | author        = | override_author = {{{author|}}}
 
  | author        = | override_author = {{{author|}}}
 
  | translator    = | override_translator = {{{translator|}}}
 
  | translator    = | override_translator = {{{translator|}}}
Line 45: Line 44:
 
</noinclude>
 
</noinclude>
 
[[Category:{{{type|}}} ]]
 
[[Category:{{{type|}}} ]]
[[Category:{{#time: Y | {{#invoke: LiteratureData | getPublicationDate |{{{wikibaseitem}}}|}} }} ]]
+
[[Category:{{#time: Y | {{#invoke: LiteratureData | getPublicationDate |{{{wikibaseitem}}}|}}}} ]]
 +
[[Category:{{{materialtype}}}]]

Latest revision as of 04:12, 30 October 2019


  • 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: ]] [[Category:Error: Invalid time. ]] [[Category:{{{materialtype}}}]]