Jump to content

MediaWiki:Proofreadpage pagenum template: Difference between revisions

From Nepali Proofreaders
Created page with "Outer span: contains the page number as an ID, so you can link to pages by pagenumber in the ''original'' work Also contains data- attributes for JS to pick up as needed. --><span <!-- -->class="pagenum ws-pagenum" <!-- -->id="{{{num}}}" <!-- -->data-page-number="{{{num}}}" <!-- -->{{#if:{{{page|}}}|data-page-name="{{{page}}}" data-page-index="{{SUBPAGENAME:{{{page}}}}}" {{#if:{{{quality|}}}|data-page-quality="{{{quality}}}"}} title="{{urlencode:{{{page}}}|WI..."
 
Blanked the page
Tag: Blanking
 
Line 1: Line 1:
Outer span: contains the page number as an ID, so you can link to pages by pagenumber in the ''original'' work
Also contains data- attributes for JS to pick up as needed.
--><span <!--
  -->class="pagenum ws-pagenum" <!--
  -->id="{{{num}}}" <!--
  -->data-page-number="{{{num}}}" <!--
  -->{{#if:{{{page|}}}|data-page-name="{{{page}}}" data-page-index="{{SUBPAGENAME:{{{page}}}}}" {{#if:{{{quality|}}}|data-page-quality="{{{quality}}}"}} title="{{urlencode:{{{page}}}|WIKI}}"}}<!--
-->><!--


  Inner span with an id of pagenumberXXX, which allows to anchor to the page if you only know the page index in the file
  (i.e. the XX in Page:Foo.djvu/XX)
  --><span <!--
      -->{{#if:{{{page|}}}|id="pageindex_{{SUBPAGENAME:{{{page}}}}}" }}<!--
      -->class="pagenum-inner ws-noexport"><!--
        -->&#8203;<!--
  End the inner span
  --></span><!--
End the outer span
--></span></includeonly>

Latest revision as of 14:34, 22 January 2025