Forskjell mellom versjoner av «Mal:Documentation/start box»
Fra Språkrådets termwiki
m (Importerte én revisjon: Infobox fra Wikipedia) |
m (Importerte én revisjon: Legger til sett med maler fra Mediawiki.org for å få CategoryTOC) |
||
(En mellomliggende revisjon av en annen bruker er ikke vist) | |||
Linje 1: | Linje 1: | ||
<!-- | <!-- | ||
Start of green doc box | Start of green doc box | ||
− | --><div | + | --><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}}] | + | | [[[{{{docpage|{{FULLPAGENAME}}/doc}}}|view]]] [[{{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> | ||
− | |||
<!-- 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