Difference between revisions of "MediaWiki:Proofreadpage pagenum template"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
− | |||
<includeonly>{{header | <includeonly>{{header | ||
| title = {{{title|}}} | | title = {{{title|}}} | ||
Line 31: | Line 30: | ||
<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> | ||
+ | <includeonly><span class="pagenum ws-pagenum" id="{{{num}}}" data-page-number="{{{num}}}" title="{{urlencode:{{{page}}}|WIKI}}">[[{{urlencode:{{{page}}}|WIKI}}|{{{num}}}]]</span></includeonly> | ||
--></includeonly><noinclude> | --></includeonly><noinclude> |
Revision as of 12:56, 4 August 2019
--></includeonly>
- 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" />