Difference between revisions of "Template:Documentation subpage"

From Pathfinder Wiki
m (156 revisions)
m (35 revisions: import from WMC)
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#ifeq: {{lc:{{#titleparts:{{PAGENAME}}||-1}}}} | {{{override|doc}}}
+
<includeonly><!--
  | <!-- doc page -->
+
-->{{#ifeq:{{SUBPAGENAME}}|{{#ifeq:{{{1|}}}|override|{{SUBPAGENAME}}|doc}}|</includeonly><!-- show on doc pages only
</includeonly>{{
+
  -->{{Documentation subpage/{{Fallback|Documentation subpage}}}}<!--
    #ifeq: {{{doc-notice|show}}} | show
+
  -->{{{category|[[Category:Template documentation|<noinclude> </noinclude><includeonly>{{PAGENAME}}</includeonly>]]}}}<!--
    | {{ombox
+
--><includeonly>}}</includeonly><!-- show on doc pages only
      | type = notice
+
--><noinclude>{{documentation}}</noinclude>
      | image = [[File:Edit-copy green.svg|40px|link=|alt=]]
 
      | text =
 
'''This is a [[w:Wikipedia:Template documentation|documentation]] [[w:Wikipedia:Subpages|subpage]] for {{{1|[[:{{SUBJECTSPACE}}:{{#if:{{#titleparts:{{PAGENAME}}|-1}}|{{#titleparts:{{PAGENAME}}|-1}}|{{PAGENAME}}}}]]}}}''' <small>(see that page for the {{ #if: {{{text1|}}} | {{{text1}}} | {{ #ifeq: {{SUBJECTSPACE}} | {{ns:User}} | {{lc:{{SUBJECTSPACE}}}} template | {{ #if: {{SUBJECTSPACE}} | {{lc:{{SUBJECTSPACE}}}} | article }}}}}} itself)</small>.<br />It contains usage information, categories, and other content that are not part of the original {{ #if: {{{text2|}}} | {{{text2}}} | {{ #if: {{{text1|}}} | {{{text1}}} | {{ #ifeq: {{SUBJECTSPACE}} | {{ns:User}} | {{lc:{{SUBJECTSPACE}}}} template page | {{ #if: {{SUBJECTSPACE}} |{{lc:{{SUBJECTSPACE}}}} page|article}}}}}}}}.
 
      }}
 
    }}{{DEFAULTSORT:{{{defaultsort|{{PAGENAME}}}}}}}{{
 
    #if: {{{inhibit|}}}
 
    | <!-- skip -->
 
    | [[Category:{{
 
      #if: {{SUBJECTSPACE}}
 
      | {{SUBJECTSPACE}}
 
      | Article
 
    }} documentation<noinclude>| </noinclude>]]
 
  }}<includeonly>
 
| <!-- if not on a /doc subpage, do nothing -->
 
}}</includeonly><noinclude>
 
{{documentation}}
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
</noinclude>
 

Revision as of 00:16, 21 January 2013

Template:Documentation subpage/en

Template documentation[create] [purge]