Template:Documentation subpage: Difference between revisions
From All Skies Encyclopaedia
| imported>Sardanaphalus  (Added 1.0em margin so template looks less a part of subsequent content and amended code layout -- hope neither of these too controversial) | w>IPad365  | ||
| Line 1: | Line 1: | ||
| ⚫ | |||
| ⚫ | |||
|   | <!-- doc page -->	 | |||
| ⚫ | |||
| ⚫ | |||
|      | <!--(this template has been transcluded on a /doc or /{{{override}}} page)--> | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
|       | text = 	This is a [[Help:Template documentation|documentation]] [[mw:Help:Subpages|subpage]] for {{#if: {{{1|}}} | {{{1}}} | [[:{{SUBJECTSPACE}}:{{BASEPAGENAME}}]] }}'''.<br /> | |||
| ⚫ | |||
| ⚫ | It contains usage information, [[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 }} }} }} }}. | ||
|              | style = margin-bottom:1.0em; | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
|     #if: {{{inhibit|}}} | |||
| ⚫ | |||
|     | <!-- skip --> | |||
| ⚫ | |||
| ⚫ | |||
|       #switch: {{SUBJECTSPACE}}	 | |||
|       | Template  = Template | |||
| ⚫ | |||
|       | Module    = Module | |||
| ⚫ | |||
|       -->{{#if:{{{inhibit|}}} |<!--(don't categorize)--> | |||
|       | #default  = Wikidata | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
|                    | [[Category:{{#switch:{{SUBJECTSPACE}} |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]] | |||
| | <!-- if not on a /doc subpage, do nothing --> | |||
| ⚫ | |||
| ⚫ | |||
|                   }}<!-- | |||
| {{documentation}} | |||
|            --></includeonly> | |||
| <!-- Add categories and interwikis to the /doc subpage, not here! --> | |||
|          }}<!-- | |||
| </noinclude> | |||
| (completing initial #ifeq: at start of template:) | |||
| ⚫ | |||
|      | <!--(this template has not been transcluded on a /doc or /{{{override}}} page)--> | |||
|     }}<!-- | |||
| --></includeonly><noinclude>{{Documentation}}</noinclude> | |||
Revision as of 23:05, 26 September 2019
|  | This is a documentation subpage for Template:Documentation subpage. It contains usage information, categories, and other content that is not part of the original template page. | 
 Template documentation
 Template documentation






