Difference between revisions of "Template:Documentation"

From Shadow of the Throne Wiki
Jump to: navigation, search
m
(Being bold, renaming edit to create when using preload, removing [view])
Line 9: Line 9:
 
   |<!-- has heading --><div style="padding-bottom: {{{heading-padding|3px}}}; border-bottom: 1px solid #aaa; margin-bottom: {{{heading-margin|1ex}}}"><span class="editsection plainlinks" id="doc_editlinks">{{
 
   |<!-- has heading --><div style="padding-bottom: {{{heading-padding|3px}}}; border-bottom: 1px solid #aaa; margin-bottom: {{{heading-margin|1ex}}}"><span class="editsection plainlinks" id="doc_editlinks">{{
 
     #ifexist: {{{1|{{Documentation/docname}}}}}
 
     #ifexist: {{{1|{{Documentation/docname}}}}}
     |<!-- /doc exists -->[[{{fullurl:{{{1|{{Documentation/docname}}}}}}} view]] [[{{fullurl:{{{1|{{Documentation/docname}}}}}|action=edit}} edit]]
+
     |<!-- /doc exists -->[[{{fullurl:{{{1|{{Documentation/docname}}}}}|action=edit}} edit]]
 
     |<!-- no /doc -->{{
 
     |<!-- no /doc -->{{
 
       #if: {{{content|}}}
 
       #if: {{{content|}}}
 
       |<!-- has content -->
 
       |<!-- has content -->
       |<!-- no content -->[[{{fullurl:{{{1|{{Documentation/docname}}}}}|action=edit&preload={{{preload-doc|Template:Documentation/preload}}}}} edit]]
+
       |<!-- no content -->[[{{fullurl:{{{1|{{Documentation/docname}}}}}|action=edit&preload={{{preload-doc|Template:Documentation/preload}}}}} create]]
 
     }}
 
     }}
 
   }}</span> <span style="{{{heading-style|font-size: 150%}}}">{{{heading|Documentation}}}</span></div>
 
   }}</span> <span style="{{{heading-style|font-size: 150%}}}">{{{heading|Documentation}}}</span></div>

Revision as of 00:54, 19 January 2008

{{ #ifeq: Documentation | sandbox

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

}} Template:Intricate

{{
 #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 }} }}