Changes

Template:Documentation/core

649 bytes removed, 07:48, 22 August 2014
12 revisions from [[:gentoo-wiki:Template:Documentation/core]]: import from wiki.gentoo.org
<includeonly><!--
Start of green doc box
--><div id="template-documentation" class="templategw-documentation iezoomfixbox" style="border: 1px solid silver; background-color: #f3f3f3;"><!--
Add the heading at the top of the doc box:
-->{{#ifeq: {{{heading|¬}}} | <!--Defined but empty-->
| <!--"heading=", do nothing-->
| <div style="padding-bottom: 3px; border-bottom: 1px solid #aaa; margin-bottom: 1ex;">{{
#if: {{{content|}}}
|
<span class="editsection plainlinks" id="doc_editlinks">{{
#if: {{{doc exist|yes}}}
| [[{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}|action=edit}} edit]] [{{purge|purge}}] &nbsp;
| <!--/doc doesn't exist-->
[[{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}| action=edit&preload={{
| Template:Documentation/preload-filespace
| Template:Documentation/preload
}} }} create]]&nbsp;
}}</span>
}} <span styleclass="{{#if: {{{headinggw-style|}}} | {{{headingbox-title" style|}}} | {{#ifeq: {{SUBJECTSPACE}} | {{ns:Template}} | font="background-weightcolor: boldsilver; font-sizecolor: 125% | font-size: 150% }} }}black;">{{#switch: {{{heading|¬}}}
| ¬ =
<!--"heading" not defined in this or previous level-->
{{#switch: {{SUBJECTSPACE}}
| {{ns:Template}} = [[Image:Template-info.svg|50px|alt=]] Template documentationDocumentation
| {{ns:File}} = Summary
| #default = Documentation
"=== Headings ===" at the start and end of docs are interpreted.
-->
<div class="gw-box-content gw-box-show-pre" style="margin: .3em;">{{#if: {{{content|}}}
| {{{content|}}}
| {{#if: {{{doc exist|yes}}}
| {{ {{{docpage|{{FULLPAGENAME}}/doc}}} }}
}}
}}</div>
<div style="clear: both;"></div><!--So right or left floating items don't stick out of the doc box.-->
</div><!--End of green doc box--><!--
}}
| {{fmbox Note| id = documentation-meta-data | image = none | style = background-color: #ecfcf4; width: 100%; | textstyle = font-style: italic; | text = {{#if: {{{link box|}}}
| {{{link box}}} <!--Use custom link box content-->
| {{#if: {{{doc exist|yes}}}
| <!--/doc exists, link to it-->
The above [[w:Wikipedia:Template documentation|documentation]] is [[w:Wikipedia:Transclusion|transcluded]] from [[{{{docpage|{{FULLPAGENAME}}/doc}}}]]. <small style="font-style: normal">([{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}|action=edit}} edit] &#124; [{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}|action=history}} history])</small> <br/>
}}<!--
Add links to /sandbox and /testcases when appropriate:
| [[{{{testcases| {{FULLPAGENAME}}/testcases }}}|testcases]] <small style="font-style: normal">([{{fullurl: {{{testcases| {{FULLPAGENAME}}/testcases }}} | action=edit }} edit])</small>
| testcases <small style="font-style: normal">([{{fullurl: {{{testcases| {{FULLPAGENAME}}/testcases }}} | action=edit&preload=Template:Documentation/preload-testcases }} create])</small>
}} pages. <br/>
}}<!--
Show the cats and interwiki text, but not
| #default = &#32;[[Special:PrefixIndex/{{{template page|{{FULLPAGENAME}}}}}/|Subpages of this page]].
}}
}}{{#ifexist:{{FULLPAGENAME}}/Print
|</br>A [[Help:Books/for experts#Improving the book layout|print version]] of this template exists at [[/Print]]. If you make a change to this template, please update the print version as well.[[Category:Templates with print versions]]
}}
}}
to make the surrounding if-case trigger-->
| <includeonly>[[Category:Wikipedia pages Pages with strange ((documentation)) usage|{{main other|Main:}}{{FULLPAGENAME}}]]<!-- Sort on namespace --></includeonly> }}<noinclude>
}}<!-- Add categories and interwikis to the /doc subpage, not here! --includeonly><noinclude>[[Category:Template cores]]
</noinclude>
Bureaucrat, administrator
425
edits