MediaWiki:Proofreadpage header template: Difference between revisions
Appearance
Forgottenman (talk | contribs) m named links |
Forgottenman (talk | contribs) m wrong parameter name in title |
||
| Line 8: | Line 8: | ||
| collection = {{{current|{{PAGENAME}}}}}{{#if:{{{collection}}}| — ''{{{collection}}}''}} | | collection = {{{current|{{PAGENAME}}}}}{{#if:{{{collection}}}| — ''{{{collection}}}''}} | ||
| journal = {{{current|{{PAGENAME}}}}} | | journal = {{{current|{{PAGENAME}}}}} | ||
| ''[[{{{title|{{PAGENAME}}}}} (text)|{{{title}}}]]'' ([[{{{article|{{{ | | ''[[{{{title|{{PAGENAME}}}}} (text)|{{{title}}}]]'' ([[{{{article|{{{title|{{PAGENAME}} }}} }}}|article]]) | ||
}}</div><div class="headertemplate-reference">{{#if:{{{translator|}}}|Translator {{{translator}}}.<br/> | }}</div><div class="headertemplate-reference">{{#if:{{{translator|}}}|Translator {{{translator}}}.<br/> | ||
}}{{#switch:{{{type}}} | }}{{#switch:{{{type}}} | ||
Revision as of 20:30, 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" />