Difference between revisions of "Template:Documentation/core"

From stoney cloud
Jump to: navigation, search
m (12 revisions from gentoo-wiki:Template:Documentation/core: import from wiki.gentoo.org)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<!--
+
<includeonly><!--
 
   Start of green doc box
 
   Start of green doc box
 
--><div id="template-documentation" class="gw-box" style="border: 1px solid silver; background-color: #f3f3f3;"><!--
 
--><div id="template-documentation" class="gw-box" style="border: 1px solid silver; background-color: #f3f3f3;"><!--
Line 37: Line 37:
 
   "=== Headings ===" at the start and end of docs are interpreted.
 
   "=== Headings ===" at the start and end of docs are interpreted.
 
-->
 
-->
<span class="gw-box-content" style="display: block; margin: .3em;">{{#if: {{{content|}}}
+
<div class="gw-box-content gw-box-show-pre" style="margin: .3em;">{{#if: {{{content|}}}
 
| {{{content|}}}
 
| {{{content|}}}
| {{#if: {{{doc exist|yes}}}
+
| {{#if: {{{doc exist|}}}
 
   | {{ {{{docpage|{{FULLPAGENAME}}/doc}}} }}
 
   | {{ {{{docpage|{{FULLPAGENAME}}/doc}}} }}
 
   }}
 
   }}
}}</span>
+
}}</div>
 
<div style="clear: both;"></div><!--So right or left floating items don't stick out of the doc box.-->
 
<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--><!--
 
</div><!--End of green doc box--><!--
Line 61: Line 61:
 
     | {{#if: {{{doc exist|yes}}}
 
     | {{#if: {{{doc exist|yes}}}
 
       | <!--/doc exists, link to it-->
 
       | <!--/doc exists, link to it-->
         The above documentation is 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>
+
         The above documentation is 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:
 
         Add links to /sandbox and /testcases when appropriate:
Line 75: Line 75:
 
         | [[{{{testcases| {{FULLPAGENAME}}/testcases }}}|testcases]] <small style="font-style: normal">([{{fullurl: {{{testcases| {{FULLPAGENAME}}/testcases }}} | action=edit }} edit])</small>
 
         | [[{{{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>
 
         | testcases <small style="font-style: normal">([{{fullurl: {{{testcases| {{FULLPAGENAME}}/testcases }}} | action=edit&preload=Template:Documentation/preload-testcases }} create])</small>
         }} pages. <br>
+
         }} pages. <br />
 
       }}<!--
 
       }}<!--
 
         Show the cats and interwiki text, but not  
 
         Show the cats and interwiki text, but not  
Line 106: Line 106:
 
       to make the surrounding if-case trigger-->
 
       to make the surrounding if-case trigger-->
  
| <includeonly>[[Category:Pages with strange ((documentation)) usage|{{main other|Main:}}{{FULLPAGENAME}}]]<!-- Sort on namespace --></includeonly>
+
| [[Category:Pages with strange ((documentation)) usage|{{main other|Main:}}{{FULLPAGENAME}}]]<!-- Sort on namespace -->
  
}}<noinclude>
+
}}</includeonly><noinclude>
 
+
[[Category:Template cores]]
<!-- Add categories and interwikis to the /doc subpage, not here! -->
+
 
</noinclude>
 
</noinclude>

Latest revision as of 09:48, 22 August 2014