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

Difference between revisions of "Template:Documentation subpage"

From Roll20 Wiki

Jump to: navigation, search
m
 
(One intermediate revision 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
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.