Documentation: Difference between revisions

From SL Pro Wrestling Wiki
/>HumansCanWinElves
The wording wasn't clear and made at least one user to panic ;)
/>ExE Boss
m Fix `content` parameter
Line 36: Line 36:
-->
-->
{{#ifeq:{{PAGENAME}}|Documentation (copy)||
{{#ifeq:{{PAGENAME}}|Documentation (copy)||
{{{!}} class="article-table" style="width:100%;" role="complementary"
{{(!}} class="article-table" style="width:100%;" role="complementary"
{{!}}- style="font-size:18px;"
{{!}}- style="font-size:18px;"
! style="padding:0px;" {{!}} <div style="width:100%; padding:3px 0px; text-align:center;" class="color1">Template documentation</div>
! style="padding:0px;" {{!}} <div style="width:100%; padding:3px 0px; text-align:center;" class="color1">Template documentation</div>
Line 42: Line 42:
{{!}} ''Note: the template above may sometimes be partially or fully invisible.''
{{!}} ''Note: the template above may sometimes be partially or fully invisible.''
{{!}}-
{{!}}-
{{!}}  
{{!}} <!--
{{#if:{{{content|}}}|
-->{{#if:{{{content|}}}|<!--
Edit [{{fullurl:{{FULLPAGENAME}}}}?action=edit&preload=Template:Documentation/preload this template for the documentation].|
-->Edit [{{fullurl:<!--
  {{#ifexist: {{#if: {{{1|}}}
-->{{FULLPAGENAME}}<!--
                        | {{{1}}}
-->|action=edit<!--
                        | {{FULLPAGENAME}}/doc
-->}}<!--end fullurl--> this template for the documentation].<!--
              }}<!--end if 1--> |  
-->|<!--else if content--><!--
View or edit [[:{{#if:{{{1|}}}|{{{1}}}|{{FULLPAGENAME}}/doc}}|this documentation]].
-->{{#ifexist: {{#if:{{{1|}}}|{{{1}}}|{{FULLPAGENAME}}/doc}}<!--end if 1-->|<!--
|
-->View or edit [[:{{#if:{{{1|}}}|{{{1}}}|{{FULLPAGENAME}}/doc}}|this documentation]].<!--
[{{fullurl:{{#if: {{{1|}}}
-->|<!--else ifexist--><!--
                          | {{{1}}}
-->[{{fullurl:<!--
                          | {{FULLPAGENAME}}/doc
-->{{#if:{{{1|}}}|{{{1}}}|{{FULLPAGENAME}}/doc}}<!--end if 1--><!--
                          }}<!--end if 1-->
-->|action=edit&preload=Template:Documentation/preload<!--
                | action=edit&preload=Template:Documentation/preload
-->}}<!--end fullurl--> create this documentation]<!--
                }}<!--end if content--> create this documentation]
-->}}<!--end ifexist--><!--
}}<!--end ifeq PAGENAME--> ([[Template:Documentation|How does this work?]])
-->}}<!--end if content--> ([[Template:Documentation|How does this work?]])
{{!}}-
{{!}}-
{{!}} Editors can experiment with this template's {{#if: {{{sandbox|}}} | {{#switch: {{#sub:{{lc:{{{sandbox}}}}}|0|1}}
{{!}} Editors can experiment with this template's {{#if: {{{sandbox|}}} | {{#switch: {{#sub:{{lc:{{{sandbox}}}}}|0|1}}
Line 64: Line 64:
| y | t | 1 = [[{{FULLPAGENAME}}/testcases|test case]]
| y | t | 1 = [[{{FULLPAGENAME}}/testcases|test case]]
| #default = [{{fullurl:{{FULLPAGENAME}}/testcases|action=edit}} test case] }}<!--end switch--> | [{{fullurl:{{FULLPAGENAME}}/testcases|action=edit}} test case]}} pages.
| #default = [{{fullurl:{{FULLPAGENAME}}/testcases|action=edit}} test case] }}<!--end switch--> | [{{fullurl:{{FULLPAGENAME}}/testcases|action=edit}} test case]}} pages.
{{!}}}
{{!)}}
}}<!--end if testcases-->
}}<!--end ifeq PAGENAME-->
{{#ifeq:{{PAGENAME}}|Documentation (copy)||
{{#ifeq:{{PAGENAME}}|Documentation (copy)||
{{#if:{{{content|}}}|{{{content}}}|
{{#if:{{{content|}}}|{{{content}}}|
{{#if:{{{1|}}}|{{{{{1}}}}}|{{{{FULLPAGENAME}}/doc}}}}
{{#if:{{{1|}}}|{{{{{1}}}}}|{{:{{FULLPAGENAME}}/doc}}}}<!--end if 1-->
}}<!--end if 1-->}}<!--end if content-->}}<!--end ifeq PAGENAME-->
}}<!--end if content-->
}}<!--end ifeq PAGENAME-->
</includeonly><noinclude>
</includeonly><noinclude>
{{Documentation|SPW = is not relevant|SPW-link = Documentation (copy)|sandbox=yes|content= This is a version of Template:Documentation customized for Templates Wiki and so not designed to be copied to other wikis.
{{Documentation|SPW = is not relevant|SPW-link = Documentation (copy)|sandbox=yes|content= This is a version of Template:Documentation customized for Templates Wiki and so not designed to be copied to other wikis.

Revision as of 16:09, 10 May 2021