Documentation: Difference between revisions

From SL Pro Wrestling Wiki
/>Dinoguy1000-fduser
Undo revision 10923 by Satyazulfiqar (talk) - rv addition of nonsensical sortkey
/>Dinoguy1000-fduser
add links to documentation talk page and history and to template sandbox and testcases pages
Line 1: Line 1:
<div class="template-documentation" style="clear: both; border: 1px solid black; margin: 1em;">
<div class="template-documentation" style="clear: both; border: 1px solid black; margin: 1em;">
   <div class="color1" style="padding: 1em; margin: 0;">'''Template documentation''' <span style="font-size: 85%;">(for the above template, sometimes hidden or invisible)</span><span class="editsection plainlinks" id="doc_editlinks">[[{{fullurl:{{FULLPAGENAME}}/doc|action=edit}} Edit]] [[{{fullurl:{{FULLPAGENAME}}|action=purge}} <span title="Refresh this page">Refresh</span>]]</span></div>
   <div class="color1" style="padding: 1em; margin: 0;">'''Template documentation''' <span style="font-size: 85%;">(for the above template, sometimes hidden or invisible)</span><span class="editsection plainlinks" id="doc_editlinks">[[{{fullurl:{{FULLPAGENAME}}{{ #if: {{{content|}}} || /doc }}|action=edit}} Edit]] {{ #if: {{{content|}}} || <nowiki>[</nowiki>[[{{TALKPAGENAME}}/doc|Talk]]] [[{{fullurl:{{FULLPAGENAME}}/doc|action=history}} History]] }} [[{{fullurl:{{FULLPAGENAME}}|action=purge}} <span title="Refresh this page">Refresh</span>]]</span></div>
   <div style="padding: 1em; padding-bottom: 0; margin: 0;">{{
   <div style="padding: 1em; padding-bottom: 0; margin: 0;">{{
     #if: {{{content|}}}
     #if: {{{content|}}}
Line 26: Line 26:
       | [{{fullurl:{{ #if: {{{1|}}} | {{ urlencode: {{{1}}} }} | {{FULLPAGENAMEE}}/doc }}|action=edit&preload=Template:Documentation/preload}} {{ #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>
   }} to change this text! ([[Template:Documentation|How does this work]]?)<br />Done making changes? [{{fullurl:{{FULLPAGENAME}}|action=purge}} Refresh] this text! ([[Help:Purge|Why?]])<br />Changes can be tested on the [[/sandbox|sandbox]] and [[/testcases|testcases]] pages.</div>
</div>
</div>

Revision as of 23:15, 6 December 2014

Template documentation (for the above template, sometimes hidden or invisible)[[{{fullurl:Documentation{{ #if: || /doc }}|action=edit}} Edit]] {{ #if: || [Talk] [History] }} [Refresh]
{{
   #if: 
   | 

{{{content}}}

   | {{
     #ifexist: {{ #if:  | {{{1}}} | Documentation/doc }}
     | Template:Tocright{{{{
       #ifeq:  | Template
       || ::
     }}{{ #if:  |  | Documentation/doc}} }}
     | :This template doesn't have any documentation yet! Help out by [{{fullurl:{{ #if:  | %7B%7B%7B1%7D%7D%7D | Documentation/doc }}|action=edit&preload=Template:Documentation/preload}} writing some]. {{
       #ifeq:  | Template
       | There may also be documentation on [[w:c:templates:{{ #if:  | {{{1}}} | Documentation/doc }}|Wikia Templates]] which can be copied.
     }}
   }}
 }}
{{
   #if: 
   | Edit this page
   | Visit {{
     #ifexist: {{ #if:  | {{{1}}} | Documentation/doc }}
     | [[{{ #if:  | {{{1}}} | Documentation/doc }}]]
     | [{{fullurl:{{ #if:  | %7B%7B%7B1%7D%7D%7D | Documentation/doc }}|action=edit&preload=Template:Documentation/preload}} {{ #if:  | {{{1}}} | Documentation/doc }}]
   }}
}} to change this text! (How does this work?)
Done making changes? Refresh this text! (Why?)
Changes can be tested on the sandbox and testcases pages.