Difference between revisions of "Template:Documentation subpage"

From Nynorn
Jump to navigation Jump to search
imported>Malyctenar
(br + span = div; if (... includeonly ...) = includeonly (if ...); shorten text to fit on 1 line)
(creation)
Line 1: Line 1:
<div class="messagebox" id="template_doc_page_viewed_directly" style="text-align: center">
+
{| style="width:100%; border:1px solid #CCC;"
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>
+
|- style="vertical-align:top;"
</div><includeonly>{{#if: {{{inhib|{{{inhibit|}}}}}} |<!-- skip -->|[[Category:Template documentation|{{PAGENAME}}]]}}</includeonly><noinclude>
+
| style="width:30px;" | [[Image:Edit-paste.svg|30px]]
 +
| 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}}]]}}}.
 +
|} [[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.
  
{{template doc}}
+
==See also==
<!-- Add categories and interwikis to the /doc subpage, not here! -->
+
* {{links|template|documentation}}
 +
 
 +
[[Category:documentation subpages| {{PAGENAME}}]]
 
</noinclude>
 
</noinclude>

Revision as of 03:57, 2 September 2007

Edit-paste.svg This is a documentation subpage, where instructions, categories, or other information is stored for technical reasons. To view the Template page itself, see Template:Documentation subpage.

Documentation

<noinclude>{{documentation subpage}}</noinclude>
or: <noinclude>{{documentation subpage|[[main page to link to]]}}</noinclude>

This template provides a link back to the main page after a user clicks the documentation's 'edit' button.

See also