Forskjell mellom versjoner av «Mal:Documentation/start box»

Fra Språkrådets termwiki
Hopp til: navigasjon, søk
(use PD image & disable link)
 
m (Importerte én revisjon: Legger til sett med maler fra Mediawiki.org for å få CategoryTOC)
 
(2 mellomliggende revisjoner av 2 brukere er ikke vist)
Linje 1: Linje 1:
 
<!--
 
<!--
 
   Start of green doc box
 
   Start of green doc box
--><div id="template-documentation" class="template-documentation iezoomfix"><!--
+
--><div class="template-documentation" style="background-color:#ecfcf4; border:1px solid #aaa; padding:12px;"><!--
 
   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-->
Linje 8: Linje 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={{
Linje 32: Linje 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
Linje 41: Linje 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>

Nåværende revisjon fra 3. jun. 2013 kl. 01:06

[view] [edit] [history] [purge] 50px Template documentation