Difference between revisions of "Template:Documentation/start box"

From Embroidery Machine WIKI
Jump to navigation Jump to search
 
m (1 revision)
Line 1: Line 1:
<!--
<!--
   Start of green doc box
   Start of green doc box
--><div id="template-documentation" class="template-documentation iezoomfix" style="padding:1em;"><!--
--><div id="template-documentation" class="template-documentation iezoomfix"><!--
   Add the heading at the top of the doc box:
   Add the heading at the top of the doc box:
-->{{#ifeq: {{{heading|¬}}} | <!--Defined but empty-->
-->{{#ifeq: {{{heading|¬}}} | <!--Defined but empty-->
Line 27: Line 27:
   |  
   |  
   | <!--Add the [view][edit][history][purge] or [create] links-->
   | <!--Add the [view][edit][history][purge] or [create] links-->
     <span class="mw-editsection plainlinks" id="doc_editlinks" style="float:right; font-size:100%;">{{
     <span class="mw-editsection plainlinks" id="doc_editlinks">{{
     #if: {{{doc exist|yes}}}
     #if: {{{doc exist|yes}}}
     | &#91;[[{{{docpage|{{FULLPAGENAME}}/doc}}}|view]]&#93; [[{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}|action=edit}} edit]] [[{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}|action=history}} history]] [{{purge|purge}}]  
     | &#91;[[{{{docpage|{{FULLPAGENAME}}/doc}}}|view]]&#93; [[{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}|action=edit}} edit]] [[{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}|action=history}} history]] [{{purge|purge}}]  
Line 42: Line 42:
}}<noinclude><!-- close the div --></div>
}}<noinclude><!-- close the div --></div>


{{pp-template}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
</noinclude>

Revision as of 17:13, 29 July 2013

{{#ifeq: ¬ |

|

|
{{#switch: ¬
 | ¬ =   
   {{#switch: Template 
   | Template = File:Template-info.png Template documentation
   | Template:Ns:Module = File:Template-info.png Module documentation
   | File = Summary
   | #default = Documentation
   }}
 | #default = 
   
 }}{{
 #if: 
 | 
 | 
   {{
   #if: yes
   | [view] [edit] [history] [purge] 
   | 
     [#if:  _        | %7B%7B%7Bpreload%7D%7D%7D_        | {{#ifeq: Template | File_          | Template:Documentation/preload-filespace_          | Template:Documentation/preload_          }} }} create]
   }}
}}
}}

{{#ifeq:{{#switch:{{#switch:{{#ifeq:-|-sysop|move|}}

  |semi
  |autoconfirmed=semi
  |administrator
  |full
  |sysop=indef
  |move=move
  |#default=indef}}
 |move={{#ifeq:
     {{#switch:{{#ifeq:documentation/start box/template|start box/template|undefined|{{#ifeq:start box|sandbox|sysop|undefined}}}}
       |semi |autoconfirmed           = autoconfirmed
       |administrator |full |sysop    = sysop
       |undefined                     = 
       |#default                      = }}
     |sysop|yes|no
   }}
 |create={{#if:
     {{#switch:{{#ifeq:documentation/start box/template|start box/template|undefined|{{#ifeq:start box|sandbox|sysop|undefined}}}}
       |semi |autoconfirmed           = autoconfirmed
       |administrator |full |sysop    = sysop
       |undefined                     = 
       |#default                      = }}
     |yes|no
   }}
 |pc1 ={{#ifeq:
     {{#switch:{{#ifeq:documentation/start box/template|start box/template|undefined|{{#ifeq:start box|sandbox|sysop|undefined}}}}
       |pc1                           = autoconfirmed 
       |undefined                     = Template:PENDINGCHANGELEVEL
       |#default                      = }}
     |autoconfirmed
     |yes|no
   }}
 |pc2 ={{#ifeq:
     {{#switch:{{#ifeq:documentation/start box/template|start box/template|undefined|{{#ifeq:start box|sandbox|sysop|undefined}}}}
       |pc2                           = review 
       |undefined                     = Template:PENDINGCHANGELEVEL
       |#default                      = }}
     |review
     |yes|no
   }}

|#default={{#if:

     {{#switch:{{#ifeq:documentation/start box/template|start box/template|undefined|{{#ifeq:start box|sandbox|sysop|undefined}}}}
       |semi |autoconfirmed           = autoconfirmed
       |administrator |full |sysop    = sysop
       |undefined                     = 
       |#default                      = }}
     |{{#ifeq:{{#switch:
                |semi |autoconfirmed           = autoconfirmed
                |administrator |full |sysop    = sysop
                |#default                      = }}
        |{{#switch:{{#ifeq:documentation/start box/template|start box/template|undefined|{{#ifeq:start box|sandbox|sysop|undefined}}}}
           |semi |autoconfirmed           = autoconfirmed
           |administrator |full |sysop    = sysop
           |undefined                     = 
           |#default                      = }}
        |no|yes
      }}
  |no}}

}}|yes|{{#ifeq:yes|yes| {{#switch:{{#switch:{{#ifeq:-|-sysop|move|}}

  |semi
  |autoconfirmed=semi
  |administrator
  |full
  |sysop=indef
  |move=move
  |#default=indef}} 

| pc1 | pc2 =