Difference between revisions of "Template:Documentation"
From Bashlinux
(Created page with "{{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}<noinclude> <!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --> </noi...") |
(Update 2011-04-08) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
+ | {{#ifexist:{{#if:{{{1|}}}|{{{1}}}|{{FULLPAGENAME}}/doc}} |
||
− | {{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}<noinclude> |
||
+ | |<!-- THEN --> |
||
− | <!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --> |
||
+ | {{ |
||
− | </noinclude> |
||
+ | {{#if:{{{1|}}} |
||
+ | |{{{1}}} |
||
+ | |{{NAMESPACE}}:{{PAGENAME}}/doc |
||
+ | }} |
||
+ | }} |
||
+ | <div> </div> |
||
+ | {{documentation debug}} |
||
+ | [[Category:Template documentation|{{PAGENAME}}]] |
||
+ | |<!-- ELSE -->{{documentation mbox |
||
+ | |type= warning |
||
+ | |text= {{LangSwitch |
||
+ | |en= '''The template documentation subpage does not exist!''' |
||
+ | |ja= '''テンプレートマニュアル記述用サブページが存在しません!''' |
||
+ | }} <span class="plainlinks">[[{{fullurl: |
||
+ | {{#if:{{{1|}}} |
||
+ | |{{{1}}} |
||
+ | |{{FULLPAGENAME}} |
||
+ | }}/doc |
||
+ | |action=edit&preload=Template:Documentation/preload |
||
+ | }} {{message|create|nocat}}]]</span> |
||
+ | }}{{#set: |
||
+ | |worn by = Template:Documentation |
||
+ | |warning = No documentation subpage |
||
+ | }} |
||
+ | }} |
Revision as of 15:29, 7 April 2011
{{#ifexist:{{#if:|{{{1}}}|Template:Documentation/doc}} | {{
{{#if: |{{{1}}} |Template:Documentation/doc }}
}}
Template:Documentation debug |Template:Documentation mbox{{#set:
|worn by = Template:Documentation |warning = No documentation subpage }}
}}