MediaWiki:Proofreadpage header template: Difference between revisions
Appearance
Forgottenman (talk | contribs) more english fixes |
Forgottenman (talk | contribs) m another fix |
||
| Line 11: | Line 11: | ||
}}{{#switch:{{{type}}} | }}{{#switch:{{{type}}} | ||
| collection = ''{{{title}}}'', {{#if:{{{Éditeur scientifique|}}}|texte établi par {{{Éditeur scientifique}}}, |}}{{#if:{{{publisher}}}|{{{publisher}}}, |}}{{{year}}}{{#if:{{{from|}}}| (pp. {{{from}}}-{{{to}}})|}}. | | collection = ''{{{title}}}'', {{#if:{{{Éditeur scientifique|}}}|texte établi par {{{Éditeur scientifique}}}, |}}{{#if:{{{publisher}}}|{{{publisher}}}, |}}{{{year}}}{{#if:{{{from|}}}| (pp. {{{from}}}-{{{to}}})|}}. | ||
| journal = ''{{{title}}}'', {{{ | | journal = ''{{{title}}}'', {{{volumes}}}, {{{year}}}{{#if:{{{from|}}}| (pp. {{{from}}}-{{{to}}})|}}. | ||
| {{#if:{{{ | | {{#if:{{{publisher}}}|{{{publisher}}}, |}}{{{year}}}{{#ifeq:{{{value}}}|Contents||{{#if:{{{from|}}}| ({{#if:{{{volumes}}}|{{{volumes}}}, }}{{#ifeq:{{{from}}}|{{{to}}}|p. {{{from}}})|pp. {{{from}}}-{{{to}}})}}|}}}}. | ||
}} | }} | ||
</div> | </div> | ||
Revision as of 15:31, 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" />