Documentation: Difference between revisions

From SL Pro Wrestling Wiki
/>Dinoguy1000-fduser
copy over some tweaks and fixes from w:c:carnivores:Template:Documentation
/>Cattitude
No edit summary
Line 1: Line 1:
<div style="clear: both; border: 1px solid black; margin: 1em;">
{{#ifeq:{{{style|}}}|code|<code>}}<nowiki>{{</nowiki>{{#if:{{{prefix|}}}|{{{prefix}}}:}}[[Template:{{{1}}}|{{{1}}}]]<!--
  <div style="background: #ddd; color: #111; padding: 1em; margin: 0em;">'''Template documentation''' <span style="font-size: 85%;">(for the above template, sometimes hidden or invisible)</span></div>
-->{{#if:{{{2|}}}|&#124;<span style="color:gray;">''&lt;{{{2}}}&gt;''</span>}}<!--
  <div style="padding: 1em; padding-bottom: 0em; margin: 0em;">{{
-->{{#if:{{{3|}}}|&#124;<span style="color:gray;">''&lt;{{{3}}}&gt;''</span>}}<!--
    #if: {{{content|}}}
-->{{#if:{{{4|}}}|&#124;<span style="color:gray;">''&lt;{{{4}}}&gt;''</span>}}<!--
    | <nowiki/>
-->{{#if:{{{5|}}}|&#124;<span style="color:gray;">''&lt;{{{5}}}&gt;''</span>}}<!--
{{{content}}}
-->{{#if:{{{6|}}}|&#124;<span style="color:gray;">''&lt;{{{6}}}&gt;''</span>}}<!--
    | {{
-->{{#if:{{{7|}}}|&#124;<span style="color:gray;">''&lt;{{{7}}}&gt;''</span>}}<!--
      #ifexist: {{ #if: {{{1|}}} | {{{1}}} | {{FULLPAGENAME}}/doc }}
-->{{#if:{{{8|}}}|&#124;<span style="color:gray;">''&lt;{{{8}}}&gt;''</span>}}<!--
      | {{tocright}}{{{{
-->{{#if:{{{9|}}}|&#124;<span style="color:gray;">''&lt;{{{9}}}&gt;''</span>}}<!--
        #ifeq: {{NAMESPACE}} | {{ns:Template}}
-->{{#if:{{{10|}}}|&#124;<span style="color:gray;">''&lt;{{{10}}}&gt;''</span>}}<!--
        || :{{NAMESPACE:{{ #if: {{{1|}}} | {{{1}}} | {{FULLPAGENAME}} }}}}:
-->{{#if:{{{11|}}}|&#124;<span style="color:gray;">''&lt;{{{11}}}&gt;''</span>}}<!--
      }}{{ #if: {{{1|}}} | {{PAGENAME:{{{1}}}}} | {{PAGENAME}}/doc}} }}
-->{{#if:{{{12|}}}|&#124;<span style="color:gray;">''&lt;{{{12}}}&gt;''</span>}}<!--
      | :<strong class="error">This template currently doesn't have any documentation!</strong> Help out by [{{fullurl:{{ #if: {{{1|}}} | {{ urlencode: {{{1}}} }} | {{FULLPAGENAMEE}}/doc }}|action=edit&preload=Template:Documentation/preload}} writing some]. {{
-->{{#if:{{{13|}}}|&#124;<span style="color:gray;">''&lt;{{{13}}}&gt;''</span>}}<!--
        #ifeq: {{NAMESPACE}} | {{ns:10}}
-->{{#if:{{{14|}}}|&#124;<span style="color:gray;">''&lt;{{{14}}}&gt;''</span>}}<!--
        | There may also be documentation on [[w:c:templates:{{ #if: {{{1|}}} | {{{1}}} | {{FULLPAGENAME}}/doc }}|Wikia Templates]] which can be copied.
-->{{#if:{{{15|}}}|&#124;<span style="color:gray;">''&lt;{{{15}}}&gt;''</span>}}<!--
      }}[[Category:Templates without documentation|{{PAGENAME}}]]
-->{{#if:{{{16|}}}|&#124;<span style="color:gray;">''&lt;{{{16}}}&gt;''</span>}}<!--
    }}
-->{{#if:{{{17|}}}|&#124;<span style="color:gray;">''&lt;{{{17}}}&gt;''</span>}}<!--
  }}
-->{{#if:{{{18|}}}|&#124;<span style="color:gray;">''&lt;{{{18}}}&gt;''</span>}}<!--
  </div>
-->{{#if:{{{19|}}}|&#124;<span style="color:gray;">''&lt;{{{19}}}&gt;''</span>}}<!--
  <div style="clear: both; background: #ddd; color: #111; padding: 0.5em; margin: 0em; font-size: 85%; text-align: right;">{{
-->{{#if:{{{20|}}}|&#124;<span style="color:gray;">''&lt;{{{20}}}&gt;''</span>}}<!--
    #if: {{{content|}}}
-->{{#if:{{{21|}}}|&#124;<span style="color:gray;">''&lt;{{{21}}}&gt;''</span>}}<!--
    | [{{fullurl:{{FULLPAGENAMEE}}|action=edit}} Edit this page]
--><nowiki>}}</nowiki>{{#ifeq:{{{style|}}}|code|</code>}}<noinclude>
    | Visit {{
{{documentation}}</noinclude>
      #ifexist: {{ #if: {{{1|}}} | {{{1}}} | {{FULLPAGENAME}}/doc }}
      | [[{{ #if: {{{1|}}} | {{{1}}} | {{FULLPAGENAME}}/doc }}]]
      | [{{fullurl:{{ #if: {{{1|}}} | {{ urlencode: {{{1}}} }} | {{FULLPAGENAMEE}}/doc }}|action=edit&preload=Template:Documentation/preload}} {{ #if: {{{1|}}} | {{{1}}} | {{FULLPAGENAME}}/doc }}]
    }}
  }} to change this text! ([[Template:Documentation|How does this work]]?)<br />Done making changes? [{{fullurl:{{FULLPAGENAME}}|action=purge}} Refresh] this text! ([[Help:Purge|Why?]])</div>
</div>

Revision as of 10:53, 12 September 2012

{{#ifeq:|code|}}{{{{#if:|{{{prefix}}}:}}[[Template:{{{1}}}|{{{1}}}]]{{#if:||<{{{2}}}>}}{{#if:||<{{{3}}}>}}{{#if:||<{{{4}}}>}}{{#if:||<{{{5}}}>}}{{#if:||<{{{6}}}>}}{{#if:||<{{{7}}}>}}{{#if:||<{{{8}}}>}}{{#if:||<{{{9}}}>}}{{#if:||<{{{10}}}>}}{{#if:||<{{{11}}}>}}{{#if:||<{{{12}}}>}}{{#if:||<{{{13}}}>}}{{#if:||<{{{14}}}>}}{{#if:||<{{{15}}}>}}{{#if:||<{{{16}}}>}}{{#if:||<{{{17}}}>}}{{#if:||<{{{18}}}>}}{{#if:||<{{{19}}}>}}{{#if:||<{{{20}}}>}}{{#if:||<{{{21}}}>}}}}{{#ifeq:|code|}} Template:Documentation