MediaWiki:Proofreadpage header template: Diferență între versiuni
Jump to navigation
Jump to search
(Nu s-au afișat 21 de versiuni intermediare efectuate de același utilizator) | |||
Linia 1: | Linia 1: | ||
<includeonly>{{header | <includeonly>{{header | ||
− | | title = {{{ | + | | title = {{#invoke: LiteratureData | getNameOfLiteratureBasedOnLanguage |{{{wikibaseitem}}}|ro}} |
− | | volume | + | | volume = {{#invoke: LiteratureData | getVolume |{{{wikibaseitem}}}|}} ({{#roman: {{#invoke: LiteratureData | getVolume |{{{wikibaseitem}}}|}}}}) |
− | | number | + | | number = {{#invoke: LiteratureData | getNumber |{{{wikibaseitem}}}|}} |
| author = | override_author = {{{author|}}} | | author = | override_author = {{{author|}}} | ||
| translator = | override_translator = {{{translator|}}} | | translator = | override_translator = {{{translator|}}} | ||
Linia 10: | Linia 10: | ||
| previous = {{{prev|{{{previous|}}}}}} | | previous = {{{prev|{{{previous|}}}}}} | ||
| next = {{{next|}}} | | next = {{{next|}}} | ||
− | | year = {{{ | + | | year = {{#time: d.m.Y | {{#invoke: LiteratureData | getPublicationDateBasedOnLanguage |{{{wikibaseitem}}}|en}}}} |
+ | | royear = {{#time: d.m.Y | {{#invoke: LiteratureData | getPublicationDateBasedOnLanguage |{{{wikibaseitem}}}|ro}}}} | ||
+ | | materialtype = {{{materialtype}}} | ||
| wikipedia = {{{wikipedia|}}} | | wikipedia = {{{wikipedia|}}} | ||
| commons = {{{commons|}}} | | commons = {{{commons|}}} | ||
Linia 28: | Linia 30: | ||
| noby = {{{noby|}}} | | noby = {{{noby|}}} | ||
}} | }} | ||
+ | |||
{{dhr}} | {{dhr}} | ||
{{#ifeq:{{{value}}}|toc|{{{remarks}}}|}}<!-- NOT implementing another container !!!! | {{#ifeq:{{{value}}}|toc|{{{remarks}}}|}}<!-- NOT implementing another container !!!! | ||
Linia 43: | Linia 46: | ||
</noinclude> | </noinclude> | ||
[[Category:{{{type|}}} ]] | [[Category:{{{type|}}} ]] | ||
− | [[Category:{{#time: Y | {{{ | + | [[Category:{{#time: Y | {{#invoke: LiteratureData | getPublicationDate |{{{wikibaseitem}}}|}}}} ]] |
− | [[Category: {{ | + | [[Category:{{{materialtype}}}]] |
Versiunea curentă din 13 noiembrie 2020 04:32
- 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:Eroare: timp incorect ]] [[Category:{{{materialtype}}}]]