Difference between revisions of "Template:Documentation"

From Shadow of the Throne Wiki
Jump to: navigation, search
(Moved {{pp-semi-template|small=yes}} and {{intricate template}} to the doc subpage instead, since they are not part of the template code and it looks better too.)
(add check-pages to test for usage of obscure parameters)
Line 43: Line 43:
 
}}</div>
 
}}</div>
 
{{{content|{{ {{ #ifexist: {{{1|{{Documentation/docname}}}}} | {{{1|{{Documentation/docname}}}}} | ns:0 }} }}}}}
 
{{{content|{{ {{ #ifexist: {{{1|{{Documentation/docname}}}}} | {{{1|{{Documentation/docname}}}}} | ns:0 }} }}}}}
</div>
+
</div><span style="display:none">{{#if:{{{heading|}}}|[[Template:Documentation/exists/heading]]}}{{#if:{{{heading-padding|}}}|[[Template:Documentation/exists/heading-padding]]}}{{#if:{{{heading-margin|}}}|[[Template:Documentation/exists/heading-margin]]}}{{#if:{{{content|}}}|[[Template:Documentation/exists/content]]}}{{#if:{{{preload-doc|}}}|[[Template:Documentation/exists/preload-doc]]}}{{#if:{{{heading-style|}}}|[[Template:Documentation/exists/heading-style]]}}{{#if:{{{transcluded|}}}|[[Template:Documentation/exists/transcluded]]}}{{#if:{{{sandbox-testcases|}}}|[[Template:Documentation/exists/sandbox-testcases]]}}</span>

Revision as of 09:47, 15 April 2008

{{

  1. ifeq: Documentation | sandbox
 | Template:Template sandbox notice

}}

{{
 #if: Documentation
|
{{
   #ifexist: Template:Documentation/docname
   |[[{{fullurl:Template:Documentation/docname|action=edit}} edit]]
   |{{
     #if: 
     |
     |[[{{fullurl:Template:Documentation/docname|action=edit&preload=Template:Documentation/preload}} create]]
   }}
}}
Documentation

}}

{{ {{ #ifexist: Template:Documentation/docname | Template:Documentation/docname | ns:0 }} }}

{{#if:|Template:Documentation/exists/heading}}{{#if:|Template:Documentation/exists/heading-padding}}{{#if:|Template:Documentation/exists/heading-margin}}{{#if:|Template:Documentation/exists/content}}{{#if:|Template:Documentation/exists/preload-doc}}{{#if:|Template:Documentation/exists/heading-style}}{{#if:|Template:Documentation/exists/transcluded}}{{#if:|Template:Documentation/exists/sandbox-testcases}}