„MediaWiki:Proofreadpage header template” változatai közötti eltérés
Jump to navigation
Jump to search
(9 közbenső módosítás ugyanattól a szerkesztőtől nincs mutatva) | |||
1. sor: | 1. sor: | ||
<includeonly>{{header | <includeonly>{{header | ||
− | | title = {{{ | + | | title = {{#invoke: LiteratureData | getNameOfLiteratureBasedOnLanguage |{{{wikibaseitem}}}|hu}} |
− | | 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|}}} | ||
10. sor: | 10. sor: | ||
| previous = {{{prev|{{{previous|}}}}}} | | previous = {{{prev|{{{previous|}}}}}} | ||
| next = {{{next|}}} | | next = {{{next|}}} | ||
− | | year = {{{ | + | | year = {{#time: d.m.Y | {{#invoke: LiteratureData | getPublicationDateBasedOnLanguage |{{{wikibaseitem}}}|en}}}} |
+ | | huyear = {{#time: d.m.Y | {{#invoke: LiteratureData | getPublicationDateBasedOnLanguage |{{{wikibaseitem}}}|hu}}}} | ||
+ | | materialtype = {{{materialtype}}} | ||
| wikipedia = {{{wikipedia|}}} | | wikipedia = {{{wikipedia|}}} | ||
| commons = {{{commons|}}} | | commons = {{{commons|}}} | ||
44. sor: | 46. sor: | ||
</noinclude> | </noinclude> | ||
[[Category:{{{type|}}} ]] | [[Category:{{{type|}}} ]] | ||
− | {{#time: Y|{{{ | + | [[Category:{{#time: Y | {{#invoke: LiteratureData | getPublicationDate |{{{wikibaseitem}}}|}}}} ]] |
− | [[Category: | + | [[Category:{{{materialtype}}}]] |
A lap jelenlegi, 2022. szeptember 30., 13:58-kori változata
- 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:Hiba: Érvénytelen idő. ]] [[Category:{{{materialtype}}}]]