Difference between revisions of "Template:Documentation subpage"

From Nynorn
Jump to navigation Jump to search
(creation)
(Converted to the new standard article message box {{ambox}}. See Wikipedia:Template standardisation.)
Line 1: Line 1:
−
{| style="width:100%; border:1px solid #CCC;"
+
{{ambox
−
|- style="vertical-align:top;"
+
| type = notice
−
| style="width:30px;" | [[Image:Edit-paste.svg|30px]]
+
| text = This is the [[Wikipedia:Template documentation|documentation]] page {{{1|for [[{{NAMESPACE}}:{{BASEPAGENAME}}]].}}} <div style="font-size: 90%">When it is viewed directly, links using [[Help:Variable|variables]] may appear broken; do not replace these with [[hard coding|hardcoded]] page names or URLs.</div>
−
| This is a [[template:documentation|documentation subpage]], where instructions, categories, or other information is stored for [[w:Project:Transclusion costs and benefits|technical reasons]]. To view the {{SUBJECTSPACE}} page itself, see {{{1|[[{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]}}}.
+
}}<includeonly>{{#if: {{{inhib|{{{inhibit|}}}}}} |<!-- skip -->|[[Category:Template documentation|{{PAGENAME}}]]}}</includeonly><noinclude>
−
|} [[category:Documentation subpages<noinclude>| {{PAGENAME}}</noinclude>]]<noinclude>
 
−
==Documentation==
 
−
<pre>
 
−
&lt;noinclude&gt;{{documentation subpage}}&lt;/noinclude&gt;
 
−
or: &lt;noinclude&gt;{{documentation subpage|[[main page to link to]]}}&lt;/noinclude&gt;
 
−
</pre>
 
−
This template provides a link back to the main page after a user clicks the documentation's 'edit' button.
 
  
−
==See also==
 
−
* {{links|template|documentation}}
 
  
−
[[Category:documentation subpages| {{PAGENAME}}]]
+
{{template doc}}
 +
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
</noinclude>
 
</noinclude>

Revision as of 21:06, 14 September 2007