Documentation: Difference between revisions

From SL Pro Wrestling Wiki
/>Dinoguy1000-fduser
Undo revision 9048 by Cattitude (talk) - rv apparent test edit
/>Dinoguy1000-fduser
CSS values of "0" don't use units; tweak the nonexistent documentation notice wording
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: 0em;">'''Template documentation''' <span style="font-size: 85%;">(for the above template, sometimes hidden or invisible)</span></div>
   <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></div>
   <div style="padding: 1em; padding-bottom: 0em; margin: 0em;">{{
   <div style="padding: 1em; padding-bottom: 0; margin: 0;">{{
     #if: {{{content|}}}
     #if: {{{content|}}}
     | <nowiki/>
     | <nowiki/>
Line 11: Line 11:
         || :{{NAMESPACE:{{ #if: {{{1|}}} | {{{1}}} | {{FULLPAGENAME}} }}}}:
         || :{{NAMESPACE:{{ #if: {{{1|}}} | {{{1}}} | {{FULLPAGENAME}} }}}}:
       }}{{ #if: {{{1|}}} | {{PAGENAME:{{{1}}}}} | {{PAGENAME}}/doc}} }}
       }}{{ #if: {{{1|}}} | {{PAGENAME:{{{1}}}}} | {{PAGENAME}}/doc}} }}
       | :<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]. {{
       | :<strong class="error">This template doesn't have any documentation yet!</strong> Help out by [{{fullurl:{{ #if: {{{1|}}} | {{ urlencode: {{{1}}} }} | {{FULLPAGENAMEE}}/doc }}|action=edit&preload=Template:Documentation/preload}} writing some]. {{
         #ifeq: {{NAMESPACE}} | {{ns:10}}
         #ifeq: {{NAMESPACE}} | {{ns:10}}
         | There may also be documentation on [[w:c:templates:{{ #if: {{{1|}}} | {{{1}}} | {{FULLPAGENAME}}/doc }}|Wikia Templates]] which can be copied.
         | There may also be documentation on [[w:c:templates:{{ #if: {{{1|}}} | {{{1}}} | {{FULLPAGENAME}}/doc }}|Wikia Templates]] which can be copied.
Line 18: Line 18:
   }}
   }}
   </div>
   </div>
   <div style="clear: both; background: #ddd; color: #111; padding: 0.5em; margin: 0em; font-size: 85%; text-align: right;">{{
   <div style="clear: both; background: #ddd; color: #111; padding: 0.5em; margin: 0; font-size: 85%; text-align: right;">{{
     #if: {{{content|}}}
     #if: {{{content|}}}
     | [{{fullurl:{{FULLPAGENAMEE}}|action=edit}} Edit this page]
     | [{{fullurl:{{FULLPAGENAMEE}}|action=edit}} Edit this page]

Revision as of 14:55, 12 September 2012

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