Jump to content

MediaWiki:Proofreadpage header template: Difference between revisions

From The Austrian Economics Wiki, the global repository of classical-liberal thought
m fix translation
m parameter name contents --> remarks
Line 12: Line 12:
  | collection = ''{{{title}}}'', {{#if:{{{editor|}}}|Edited by {{{editor}}}, |}}{{#if:{{{publisher}}}|{{{publisher}}}, |}}{{{year}}}{{#if:{{{from|}}}| (pp. {{{from}}}-{{{to}}})|}}.
  | collection = ''{{{title}}}'', {{#if:{{{editor|}}}|Edited by {{{editor}}}, |}}{{#if:{{{publisher}}}|{{{publisher}}}, |}}{{{year}}}{{#if:{{{from|}}}| (pp. {{{from}}}-{{{to}}})|}}.
  | journal    =  ''{{{title}}}'', {{{volume}}}, {{{year}}}{{#if:{{{from|}}}| (pp. {{{from}}}-{{{to}}})|}}.
  | journal    =  ''{{{title}}}'', {{{volume}}}, {{{year}}}{{#if:{{{from|}}}| (pp. {{{from}}}-{{{to}}})|}}.
  |              {{#if:{{{publisher}}}|{{{publisher}}}, |}}{{{year}}}{{#ifeq:{{{value}}}|Contents||{{#if:{{{from|}}}| ({{#if:{{{volume}}}|{{{volume}}}, }}{{#ifeq:{{{from}}}|{{{to}}}|p. {{{from}}})|pp. {{{from}}}-{{{to}}})}}|}}}}.
  |              {{#if:{{{publisher}}}|{{{publisher}}}, |}}{{{year}}}{{#ifeq:{{{value}}}|remarks||{{#if:{{{from|}}}| ({{#if:{{{volume}}}|{{{volume}}}, }}{{#ifeq:{{{from}}}|{{{to}}}|p. {{{from}}})|pp. {{{from}}}-{{{to}}})}}|}}}}.
}}
}}
</div>
</div>
Line 29: Line 29:
}}}}
}}}}
<br/>
<br/>
{{#ifeq:{{{value}}}|toc|{{{contents}}}  
{{#ifeq:{{{value}}}|toc|{{{remarks}}}  
|}}
|}}
</includeonly><noinclude>
</includeonly><noinclude>

Revision as of 16:03, 15 March 2011


  • This template generates headers for the <pages/> command, when it is called with "header=1".
  • 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=1 author="bar" />