MediaWiki:Proofreadpage header template: Diferență între versiuni

De la Ro JW United
Jump to navigation Jump to search
 
(Nu s-au afișat 37 de versiuni intermediare efectuate de același utilizator)
Linia 1: Linia 1:
 
<includeonly>{{header
 
<includeonly>{{header
  | title          = {{{title|}}}
+
  | title          = {{#invoke: LiteratureData | getNameOfLiteratureBasedOnLanguage |{{{wikibaseitem}}}|ro}}
  | volume         = {{{volume|}}}
+
  | volume         = {{#invoke: LiteratureData | getVolume |{{{wikibaseitem}}}|}} ({{#roman: {{#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|}}}
Linia 10: Linia 10:
 
  | previous      = {{{prev|{{{previous|}}}}}}
 
  | previous      = {{{prev|{{{previous|}}}}}}
 
  | next          = {{{next|}}}
 
  | next          = {{{next|}}}
  | year          = {{{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 !!!!
  
<div style="width:36em; margin: 0px auto; text-align: justify; text-indent: 2em;" class="ws-summary>
+
<div style="width:36em; margin: 0px auto; text-align: justify; text-indent: 2em;" class="ws-summary>{{{year|}}}
 
 
 
--></includeonly><noinclude>
 
--></includeonly><noinclude>
  
Linia 44: Linia 46:
 
</noinclude>
 
</noinclude>
 
[[Category:{{{type|}}} ]]
 
[[Category:{{{type|}}} ]]
[[Category:{{#time: Y | {{{year|}}} }} ]]
+
[[Category:{{#time: Y | {{#invoke: LiteratureData | getPublicationDate |{{{wikibaseitem}}}|}}}} ]]
 +
[[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}}}]]