Character Vault
Any Concept / Any System
Compendium
Your System Come To Life
Roll20 for Android
Streamlined for your Tablet
Roll20 for iPad
Streamlined for your Tablet

Personal tools

Difference between revisions of "Template:Documentation subpage"

From Roll20 Wiki

Jump to: navigation, search
m (1 revision)
 
(2 intermediate revisions by one user not shown)
Line 1: Line 1:
 
<includeonly>{{#ifeq: {{lc:{{SUBPAGENAME}}}} | {{{override|doc}}}
 
<includeonly>{{#ifeq: {{lc:{{SUBPAGENAME}}}} | {{{override|doc}}}
 
   | <!-- doc page -->
 
   | <!-- doc page -->
</includeonly>{{
+
{{
 
     #ifeq: {{{doc-notice|show}}} | show
 
     #ifeq: {{{doc-notice|show}}} | show
 
     | {{mbox
 
     | {{mbox
 
       | type = notice
 
       | type = notice
       | image = [[File:Edit-copy green.svg|40px]]
+
       | image = [[File:Edit-copy green.png|40px]]
 
       | text =  
 
       | text =  
 
'''This is a [[Wikipedia:Template documentation|documentation]] [[Wikipedia:Subpages|subpage]] for {{{1|[[:{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]}}}'''.<br />It contains usage information, [[Wikipedia:Categorization|categories]] and other content that is 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}}}}}}}}.  
 
'''This is a [[Wikipedia:Template documentation|documentation]] [[Wikipedia:Subpages|subpage]] for {{{1|[[:{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]}}}'''.<br />It contains usage information, [[Wikipedia:Categorization|categories]] and other content that is 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}}}}}}}}.  
Line 12: Line 12:
 
     #if: {{{inhibit|}}}
 
     #if: {{{inhibit|}}}
 
     | <!-- skip -->
 
     | <!-- skip -->
     | <includeonly>{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}|[[Category:{{
+
     | {{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}|[[Category:{{
 
       #switch: {{SUBJECTSPACE}}
 
       #switch: {{SUBJECTSPACE}}
 
       | Template  = Template
 
       | Template  = Template
Line 18: Line 18:
 
       | User      = User
 
       | User      = User
 
       | #default  = Wikipedia
 
       | #default  = Wikipedia
     }} documentation pages]]|[[Category:Documentation subpages without corresponding pages]]}}</includeonly>
+
     }} Documentation]]|[[Category:Documentation subpages without corresponding pages]]}}
   }}<includeonly>
+
   }}
 
| <!-- if not on a /doc subpage, do nothing -->
 
| <!-- if not on a /doc subpage, do nothing -->
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>

Latest revision as of 16:06, 16 January 2015

[view] [edit] [history] [purge] Documentation icon Template documentation

This template should normally be placed at the top of /doc pages. It changes output depending on where it is viewed:

  • On a /doc page, it displays a box explaining template documentation and links to the template page.
  • On other pages – i.e. pages transcluding the /doc page – the template will not show. The template page itself (which contains {{Documentation}}) will automatically note that the documentation is transcluded from a subpage.