Difference between revisions of "MediaWiki:Proofreadpage pagenum template"

From En JW United
Jump to navigation Jump to search
Line 30: 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>
 
<includeonly><span class="pagenum ws-pagenum" id="{{{num}}}" data-page-number="{{{num}}}" title="{{urlencode:{{{page}}}|WIKI}}">[[{{urlencode:{{{page}}}|WIKI}}|{{{num}}}]]</span></includeonly>
 
<includeonly><span class="pagenum ws-pagenum" id="{{{num}}}" data-page-number="{{{num}}}" title="{{urlencode:{{{page}}}|WIKI}}">[[{{urlencode:{{{page}}}|WIKI}}|{{{num}}}]]</span></includeonly>
  
--></includeonly><noinclude>
+
<noinclude>
  
 
*This template generates headers for the <nowiki><pages/></nowiki> command, when it is called with "header".
 
*This template generates headers for the <nowiki><pages/></nowiki> command, when it is called with "header".

Revision as of 12:56, 4 August 2019



  • 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" />