Difference between revisions of "Template:Documentation subpage"

From FIThydrowiki
Jump to navigation Jump to search
imported>Malyctenar
(br + span = div; if (... includeonly ...) = includeonly (if ...); shorten text to fit on 1 line)
 
imported>Malyctenar
(br + span = div; do show the template at its own page (so that also the noinclude bit in the category makes sense))
(26 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="messagebox" id="template_doc_page_viewed_directly" style="text-align: center">
+
<includeonly><!-- only show on documentation subpages -->
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>
+
{{#ifeq: {{lc:{{SUBPAGENAME}}}} | {{{override|doc}}} |
</div><includeonly>{{#if: {{{inhib|{{{inhibit|}}}}}} |<!-- skip -->|[[Category:Template documentation|{{PAGENAME}}]]}}</includeonly><noinclude>
+
</includeonly><div class="messagebox" id="template_doc_page_viewed_directly" style="text-align: center">
 
+
This subpage contains [[Wikipedia:Template documentation|documentation]], [[Wikipedia:Categories|categories]] and other content that is not part of the template.
{{template doc}}
+
<div style="font-size: 88%">To view the {{lc:{{NAMESPACE}}}} page itself, see {{{1|[[{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]}}}.</div></div>
 +
{{DEFAULTSORT:{{PAGENAME}}}}{{#if:{{{inhibit|}}}|<!-- skip -->|[[Category:Documentation subpages<noinclude>| </noinclude>]]}}
 +
<includeonly>}}</includeonly><noinclude>
 +
{{documentation}}
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
</noinclude>
 
</noinclude>

Revision as of 10:48, 11 October 2007

This subpage contains documentation, categories and other content that is not part of the template.

To view the template page itself, see Template:Documentation subpage.

Lua error in package.lua at line 80: module 'Module:Arguments' not found.