Documentation: Difference between revisions

From SL Pro Wrestling Wiki
/>DSofa
Undo revision 10392 by DSofa (talk)
/>Iynque
Replacing "hard" colors with wiki's theme colors via class="color1". That way it should look nice on any wiki without manual editing (mostly for dark-themed wikis where the silvery gray is just too bright).
Line 1: Line 1:
<div style="clear: both; border: 1px solid black; margin: 1em;">
<div style="clear: both; border: 1px solid black; margin: 1em;">
   <div style="background: #ddd; color: #111; 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 style="padding: 1em; margin: 0;" class="color1">'''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 style="padding: 1em; padding-bottom: 0; margin: 0;">{{
   <div style="padding: 1em; padding-bottom: 0; margin: 0;">{{
     #if: {{{content|}}}
     #if: {{{content|}}}
Line 18: Line 18:
   }}
   }}
   </div>
   </div>
   <div style="clear: both; background: #ddd; color: #111; padding: 0.5em; margin: 0; font-size: 85%; text-align: right;">{{
   <div style="clear: both; padding: 0.5em; margin: 0; font-size: 85%; text-align: right;" class="color1">{{
     #if: {{{content|}}}
     #if: {{{content|}}}
     | [{{fullurl:{{FULLPAGENAMEE}}|action=edit}} Edit this page]
     | [{{fullurl:{{FULLPAGENAMEE}}|action=edit}} Edit this page]

Revision as of 14:25, 2 June 2014

Template documentation (for the above template, sometimes hidden or invisible)[Edit] [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?)