Documentation: Difference between revisions

From SL Pro Wrestling Wiki
/>Fandyllic
m Changed protection level for "Template:Documentation": doesn't really need to be heavily protected for now; prevent move, tho (‎[edit=autoconfirmed] (indefinite) ‎[move=sysop] (indefinite))
/>Henstepl
Line 1: Line 1:
<div class="template-documentation" style="clear: both; border: 1px solid black; margin: 1em;"><!--
<includeonly>{| class="article-table" style="width:100%;"
--><div class="color1" style="padding: 1em; margin: 0;"><!--
|- style="font-size:18px;" class="color2"
    -->'''Template documentation''' <!--
! Template documentation follows
    --><span style="font-size: 85%;"><!--
|-
      -->(for the above template, sometimes hidden or invisible)<!--
| ''Note: the template above may sometimes be partially or fully invisible.''
    --></span> <!--
|-
    -->{{#if: {{{content|}}}
| Visit [[Template:{{PAGENAMEE}}/doc]] to edit this documentation. ([[Template:Documentation|How does this work?]])
      |
|}
      | <span id="doc_editlinks" class="editsection plainlinks" style="font-size: 85%; float:right;"><!--
<div style="margin:0 1em;">
        -->{{#ifexist: {{#if: {{{1|}}}
:''{{#switch: {{{SPW}}}
                        | {{{1}}}
      | is on          = This template or a similar one is on [[w:c:starter:Template:{{PAGENAME}}|the Starter Pages Wikia]], whence it is incorporated in every new Wikia site and can be copied to older ones.
                        | {{FULLPAGENAME}}/doc
      | is newer       = This template is newer than a similar one on [[w:c:starter:Template:{{PAGENAME}}|the Starter Pages Wikia]]. This template may therefore have bug fixes or improvements when compared to the older version.{{ #ifeq: {{ #titleparts: {{PAGENAME}} | 1 | 1 }} | SPW | <!-- no categories on Template:SPW and subpages --> | {{ #ifeq: {{ #titleparts: {{PAGENAME}} | 1 | -1 }} | doc | <!-- categories only on template pages --> | [[Category:Newer than on Starter Pages Wikia|{{PAGENAME}}]] }} }}
                        }}
      | is not on      = This template is not on [[w:c:starter:Template:{{PAGENAME}}|the Starter Pages Wikia]]. It can be copied to other Wikia sites, but it is not included on any by default.{{ #ifeq: {{ #titleparts: {{PAGENAME}} | 1 | 1 }} | SPW | <!-- no categories on Template:SPW and subpages --> | {{ #ifeq: {{ #titleparts: {{PAGENAME}} | 1 | -1 }} | doc | <!-- categories only on template pages --> | [[Category:Not on Starter Pages Wikia|{{PAGENAME}}]] }} }}
            | &#91;[[{{#if: {{{1|}}}
      | is not relevant = This template is not on [[w:c:starter|the Starter Pages Wikia]] because it is probably not relevant to wikis other than Templates Wikia. [[Category:Templates Wikia templates|{{PAGENAME}}]]
                    | {{{1}}}
      | #default        = '''Editors have not checked whether this template is or is not on [[w:c:starter:Template:{{PAGENAME}}|the Starter Pages Wikia]].'''{{ #ifeq: {{ #titleparts: {{PAGENAME}} | 1 | 1 }} | SPW | <!-- no categories on Template:SPW and subpages --> | {{ #ifeq: {{ #titleparts: {{PAGENAME}} | 1 | -1 }} | doc | <!-- categories only on template pages --> | [[Category:Not checked for on Starter Pages Wikia|{{PAGENAME}}]] }} }}}}''
                    | {{FULLPAGENAME}}/doc
{{{{FULLPAGENAME}}/doc}}
                    }}|view]]<!--
 
          -->&#93; <!--
          -->[[{{fullurl:{{#if: {{{1|}}}
                          | {{{1}}}
                          | {{FULLPAGENAME}}/doc
                          }}
                | action=edit
                }} edit]] <!--
          -->[[{{fullurl:{{#if: {{{1|}}}
                          | {{{1}}}
                          | {{FULLPAGENAME}}/doc
                          }}
                | action=history
                }} history]] <!--
          -->[[{{fullurl:{{FULLPAGENAME}}
                | action=purge
                }} refresh]]
            | [[{{fullurl:{{#if: {{{1|}}}
                          | {{{1}}}
                          | {{FULLPAGENAME}}/doc
                          }}
                | action=edit&preload=Template:Documentation/preload
                }} create]]
            }}<!--
      --></span>
      }}<!--
--></div><!--
--><div style="padding: 1em; padding-bottom: 0; margin: 0;">
{{#if: {{{content|}}}
| {{{content}}}
| {{#ifexist: {{#if: {{{1|}}}
              | {{{1}}}
              | {{FULLPAGENAME}}/doc
              }}
  | {{tocright}}
{{{{#ifeq: {{NAMESPACE}} | {{ns:Template}}
  |
  | :{{NAMESPACE:{{#if: {{{1|}}}
                | {{{1}}}
                | {{FULLPAGENAME}}
                }}
    }}:
  }}{{
  #if: {{{1|}}}
  | {{PAGENAME:{{{1}}} }}
  | {{PAGENAME}}/doc
  }}
}}
  | :<strong class="error">This template doesn't have any documentation yet!</strong> <!--
    -->Help out by [{{fullurl:{{#if: {{{1|}}}
                              | {{{1}}}
                              | {{FULLPAGENAME}}/doc
                              }}
                    | action=edit&preload=Template:Documentation/preload
                    }} writing some]. <!--
    -->{{#ifeq: {{NAMESPACE}} | {{ns:10}}
      | There may also be documentation on [[w:c:templates:{{#if: {{{1|}}}
                                                            | {{{1}}}
                                                            | {{FULLPAGENAME}}/doc
                                                            }}|Wikia Templates]] which can be copied.
      }}{{
      #ifeq: {{FULLPAGENAME}} | {{ns:Template}}:Documentation/preload
       |
      | [[Category:Templates without documentation]]
      }}
  }}
}}<!--
--></div><!--
--><div class="color1" style="clear: both; padding: 0.5em; margin: 0; font-size: 85%; text-align: right;"><!--
    -->{{#if: {{{content|}}}
      | '''[{{fullurl:{{FULLPAGENAME}}
            | action=edit
            }} Edit this page]''' to change the above text. ('''[[Template:Documentation|What is this?]]''')
      | {{#ifexist: {{#if: {{{1|}}}
                    | {{{1}}}
                    | {{FULLPAGENAME}}/doc
                    }}
        | The above text is '''[[m:Transclusion|<span class="color1">transcluded</span>]]''' <!--
          -->from '''[[{{#if: {{{1|}}}
                        | {{{1}}}
                        | {{FULLPAGENAME}}/doc
                        }}]]'''; <!--
          -->you can '''[{{fullurl:{{#if: {{{1|}}}
                                    | {{{1}}}
                                    | {{FULLPAGENAME}}/doc
                                    }}
                          | action=edit
                          }} change it]''' <!--
          -->or '''[{{fullurl:{{#if: {{{1|}}}
                              | {{{1}}}
                              | {{FULLPAGENAME}}/doc
                              }}
                    | action=history
                    }} view its history]'''. <!--
          -->('''[[Template:Documentation|How does this work?]]''')
        | This template currently doesn't have any documentation; <!--
          -->you can '''[{{fullurl:{{#if: {{{1|}}}
                                    | {{{1}}}
                                    | {{FULLPAGENAME}}/doc
                                    }}
                          | action=edit&preload=Template:Documentation/preload
                          }} create it]''' <!--
          -->if you know how the template is used. <!--
          -->('''[[Template:Documentation|What is this?]]''')
        }}
      }}<br />If you're done making changes, <!--
        -->please '''[{{fullurl:{{FULLPAGENAME}}
                      | action=purge
                      }} refresh the text]'''. <!--
        -->('''[[Help:Purge|Why?]]''')<br /><!--
        -->You can experiment in this template's <!--
            -->{{#ifexist: {{#if: {{{sandbox|}}}
                          | {{{sandbox}}}
                          | {{FULLPAGENAME}}/sandbox
                          }}
              | '''[[{{#if: {{{sandbox|}}}
                      | {{{sandbox}}}
                      | {{FULLPAGENAME}}/sandbox
                      }}|sandbox]]''' <!--
                -->('''[{{fullurl:{{#if: {{{sandbox|}}}
                                  | {{{sandbox}}}
                                  | {{FULLPAGENAME}}/sandbox
                                  }}
                        | action=edit
                        }} edit]''' <!--
                -->&#124; <!--
                -->'''[{{fullurl:Special:ComparePages
                        | page1={{FULLPAGENAMEE}}&page2={{urlencode:{{#if: {{{sandbox|}}}
                                                                    | {{{sandbox}}}
                                                                    | {{FULLPAGENAME}}/sandbox
                                                                    }}
                                                        }}
                        }} diff]'''<!--
                -->)
              | sandbox ('''[{{fullurl:{{#if: {{{sandbox|}}}
                                        | {{{sandbox}}}
                                        | {{FULLPAGENAME}}/sandbox
                                        }}
                              | action=edit&preload=Template:Documentation/preload-sandbox
                              }} create]''' <!--
                -->&#124; <!--
                -->'''[{{fullurl:{{#if: {{{sandbox|}}}
                                  | {{{sandbox}}}
                                  | {{FULLPAGENAME}}/sandbox
                                  }}
                        | action=edit&preload={{FULLPAGENAMEE}}&summary={{urlencode:Create sandbox version of [[{{FULLPAGENAME}}]]}}
                        }} mirror]''' <!--
                -->)
              }} <!--
            -->and {{#ifexist: {{#if: {{{testcases|}}}
                              | {{{testcases}}}
                              | {{FULLPAGENAME}}/testcases
                              }}
                  | '''[[{{#if: {{{testcases|}}}
                          | {{{testcases}}}
                          | {{FULLPAGENAME}}/testcases
                          }}|testcases]]''' <!--
                    -->('''[{{fullurl:{{#if: {{{testcases|}}}
                                      | {{{testcases}}}
                                      | {{FULLPAGENAME}}/testcases
                                      }}
                            | action=edit
                            }} edit]''')
                  | testcases ('''[{{fullurl:{{#if: {{{testcases|}}}
                                              | {{{testcases}}}
                                              | {{FULLPAGENAME}}/testcases
                                              }}
                                    | action=edit&preload=Template:Documentation/preload-testcases
                                    }} create]''')
                  }} <!--
            -->pages.<!--
            -->{{#if: {{{content|}}}
              |
              | <br />Please add '''[[Help:Categories|categories]]''' and '''[[Help:Interwiki link|interwikis]]''' to <!--
                -->{{#ifexist: {{#if: {{{1|}}}
                                | {{{1}}}
                                | {{FULLPAGENAME}}/doc
                                }}
                    | '''[[{{#if: {{{1|}}}
                          | {{{1}}}
                          | {{FULLPAGENAME}}/doc
                          }}]]'''
                    | '''[{{fullurl:{{#if: {{{1|}}}
                                    | {{{1}}}
                                    | {{FULLPAGENAME}}/doc
                                    }}
                          | action=edit&preload=Template:Documentation/preload
                          }} {{#if: {{{1|}}}
                            | {{{1}}}
                            | {{FULLPAGENAME}}/doc
                            }}]'''
                    }}.
              }} <!--
            -->('''[[Special:PrefixIndex/{{FULLPAGENAME}}/|View all subpages of this page]]'''.)<!--
--></div>
</div>
</div>
{{#ifexist: {{FULLPAGENAME}}/install|
<div style="border-top:4px dashed red; background: #FFFFAA; padding:5px;">
=== Installation instructions ===
:''These instructions will not be copied if you copy the documentation of this template to your wiki.''
{{{{FULLPAGENAME}}/install}}</div>}}</includeonly><noinclude>
{{Documentation for copying|SPW = is not relevant}}
</noinclude>

Revision as of 03:53, 15 November 2017