Difference between revisions of "Template:Documentation subpage"

From D&D 5e
Jump to: navigation, search
(copy from sandbox; add doc-notice|show parameter; display documentation in sandbox)
({{ ambox }})
Line 11: Line 11:
 
</includeonly>{{
 
</includeonly>{{
 
     #ifeq: {{{doc-notice|show}}} | show
 
     #ifeq: {{{doc-notice|show}}} | show
     | <!-- doc-notice show --><div class="messagebox" id="template_doc_page_viewed_directly" style="padding:1ex 1em;">'''This is a [[Wikipedia:Template documentation|documentation]] [[Wikipedia:Subpages|subpage]] for ''{{{1|[[{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]}}}''.'''<br />It contains usage information, [[Wikipedia:Categories|categories]] and other content that is not part of the original {{ #if: {{SUBJECTSPACE}} |{{lc:{{SUBJECTSPACE}}}} page|article}}.<br /><span style="font-size: 0.9em;">To view the {{ #if: {{SUBJECTSPACE}} |{{lc:{{SUBJECTSPACE}}}} page|article}} itself, see {{{1|[[{{ #if: {{SUBJECTSPACE}} |{{SUBJECTSPACE}}:}}{{BASEPAGENAME}}]]}}}.</span></div>
+
     | <!-- doc-notice show -->{{ ambox | type=notice | image=none | text='''This is a [[Wikipedia:Template documentation|documentation]] [[Wikipedia:Subpages|subpage]] for ''{{{1|[[{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]}}}''.'''<br />It contains usage information, [[Wikipedia:Categories|categories]] and other content not part of the original {{ #if: {{SUBJECTSPACE}} |{{lc:{{SUBJECTSPACE}}}} page|article}}.<br /><span style="font-size: 0.9em;">To view the {{ #if: {{SUBJECTSPACE}} |{{lc:{{SUBJECTSPACE}}}} page|article}} itself, see {{{1|[[{{ #if: {{SUBJECTSPACE}} |{{SUBJECTSPACE}}:}}{{BASEPAGENAME}}]]}}}.</span>}}
 
     | <!-- doc-notice hide -->
 
     | <!-- doc-notice hide -->
 
   }}{{DEFAULTSORT:{{PAGENAME}}}}{{
 
   }}{{DEFAULTSORT:{{PAGENAME}}}}{{

Revision as of 22:17, 13 November 2007

{{ #ifeq: Documentation subpage | sandbox

 | Template:Template sandbox notice
 | Template:Pp-semi-template

}}


{{

   #ifeq: show | show
   | Template:Ambox
   | 
 }}{{
   #if: 
   | 
   | [[Category:{{
     #if: Template
     | Template
     | Article
   }} documentation| ]]
 }}

{{ #ifeq: Template:Documentation subpage | Template:Documentation subpage | Template:Mergingfrom }} Template:Documentation, template