MediaWiki:Proofreadpage header template: Difference between revisions
Appearance
Forgottenman (talk | contribs) m parameter name contents --> remarks |
Forgottenman (talk | contribs) copy this piece from en.ws |
||
| 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}}}|{{{ | | {{#if:{{{publisher|}}}|{{#if:{{{address|}}}|{{{address}}}: |}}{{{publisher}}} {{#if:{{{year|}}}|({{{year}}}). |}}}}{{#if:{{{from|}}}|{{#ifeq:{{{from}}}|{{{to}}}|page {{{from}}}|pages {{{from}}}-{{{to}}} }} }}{{{notes|}}} | ||
}} | }} | ||
</div> | </div> | ||
Revision as of 16:14, 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" />