Template:Documentation/start box: differenze tra le versioni

Da The Crowdsourced Resource-Based Economy Knowledgebase.
m (una revisione importata)
(let's see about reusing this for modules at some point...)
Riga 8: Riga 8:
 
   #if: {{{content|}}}
 
   #if: {{{content|}}}
 
   |  
 
   |  
   | <!--Add the [edit][purge] or [create] links-->
+
   | <!--Add the [view][edit][history][purge] or [create] links-->
 
     <span class="editsection plainlinks" id="doc_editlinks">{{
 
     <span class="editsection plainlinks" id="doc_editlinks">{{
 
     #if: {{{doc exist|yes}}}
 
     #if: {{{doc exist|yes}}}
     | [[{{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}}]  
 
     | <!--/doc doesn't exist-->
 
     | <!--/doc doesn't exist-->
 
       [[{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}| action=edit&preload={{
 
       [[{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}| action=edit&preload={{
Riga 32: Riga 32:
 
     {{#switch: {{SUBJECTSPACE}}  
 
     {{#switch: {{SUBJECTSPACE}}  
 
     | {{ns:Template}} = [[File:Template-info.png|50px|link=|alt=Documentation icon]] Template documentation
 
     | {{ns:Template}} = [[File:Template-info.png|50px|link=|alt=Documentation icon]] Template documentation
 +
    | {{ns:Module}} = [[File:Template-info.png|50px|link=|alt=Documentation icon]] Module documentation
 
     | {{ns:File}} = Summary
 
     | {{ns:File}} = Summary
 
     | #default = Documentation
 
     | #default = Documentation
Riga 39: Riga 40:
 
     {{{heading|}}}
 
     {{{heading|}}}
 
   }}</span></div>
 
   }}</span></div>
}}
+
}}<noinclude><!-- close the div --></div>
 +
 
 +
{{pp-template}}
 +
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 +
</noinclude>

Versione delle 08:13, 19 mar 2013

[view] [edit] [history] [purge] 50px Template documentation
Strumenti personali
Namespace

Varianti
Azioni
Navigazione
Strumenti
Share