Difference between revisions of "MediaWiki:Proofreadpage header template"
Jump to navigation
Jump to search
(Created page with "<includeonly>{{header | title = {{{title|}}} | author = | override_author = {{{author|}}} | translator = | override_translator = {{{translator|}}} | e...") |
|||
(58 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{header | <includeonly>{{header | ||
− | | title = {{{ | + | | title = {{#invoke: LiteratureData | getNameOfLiteratureBasedOnLanguage |{{{wikibaseitem}}}|en}} |
+ | | volume = {{#invoke: LiteratureData | getVolume |{{{wikibaseitem}}}|}} ({{#roman: {{#invoke: LiteratureData | getVolume |{{{wikibaseitem}}}|}}}}) | ||
+ | | number = {{#invoke: LiteratureData | getNumber |{{{wikibaseitem}}}|}} | ||
| author = | override_author = {{{author|}}} | | author = | override_author = {{{author|}}} | ||
| translator = | override_translator = {{{translator|}}} | | translator = | override_translator = {{{translator|}}} | ||
Line 8: | Line 10: | ||
| previous = {{{prev|{{{previous|}}}}}} | | previous = {{{prev|{{{previous|}}}}}} | ||
| next = {{{next|}}} | | next = {{{next|}}} | ||
− | | year = {{{ | + | | year = {{#time: d.m.Y | {{#invoke: LiteratureData | getPublicationDate |{{{wikibaseitem}}}|}}}} |
| wikipedia = {{{wikipedia|}}} | | wikipedia = {{{wikipedia|}}} | ||
| commons = {{{commons|}}} | | commons = {{{commons|}}} | ||
Line 23: | Line 25: | ||
| disambiguation = {{{disambiguation|}}} | | disambiguation = {{{disambiguation|}}} | ||
| wikilivres = {{{wikilivres|}}} | | wikilivres = {{{wikilivres|}}} | ||
− | | notes = | + | | notes = {{#ifeq:{{{from}}}|{{{to}}}|page {{{from}}}|pages {{{from}}}-{{{to}}} }} |
| noby = {{{noby|}}} | | noby = {{{noby|}}} | ||
}} | }} | ||
Line 41: | Line 43: | ||
[[fr:MediaWiki:Proofreadpage header template]] | [[fr:MediaWiki:Proofreadpage header template]] | ||
</noinclude> | </noinclude> | ||
+ | [[Category:{{{type|}}} ]] | ||
+ | [[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}}}]]