https://wiki.ntbigroup.com/index.php?title=Template:Documentation/end_box&feed=atom&action=historyTemplate:Documentation/end box - Revision history2024-03-28T19:26:08ZRevision history for this page on the wikiMediaWiki 1.31.0https://wiki.ntbigroup.com/index.php?title=Template:Documentation/end_box&diff=426&oldid=previmported>NelsonJenkins: 1 revision2012-03-03T00:15:04Z<p>1 revision</p>
<table class="diff diff-contentalign-left" data-mw="interface">
<tr class="diff-title" lang="en">
<td colspan="1" style="background-color: #fff; color: #222; text-align: center;">← Older revision</td>
<td colspan="1" style="background-color: #fff; color: #222; text-align: center;">Revision as of 00:15, 3 March 2012</td>
</tr><tr><td colspan="2" class="diff-notice" lang="en"><div class="mw-diff-empty">(No difference)</div>
</td></tr></table>imported>NelsonJenkinshttps://wiki.ntbigroup.com/index.php?title=Template:Documentation/end_box&diff=425&oldid=prevWOSlinker: change {{!}} to <nowiki>|</nowiki> so that it's one less template listed in the "Pages transcluded onto the current version of this page" section - Easier to see what really is transcluded2011-11-15T23:33:21Z<p>change {{!}} to <nowiki>|</nowiki> so that it's one less template listed in the "Pages transcluded onto the current version of this page" section - Easier to see what really is transcluded</p>
<p><b>New page</b></p><div><noinclude><div></noinclude><div style="clear: both;"></div><!--So right or left floating items don't stick out of the doc box.--><br />
</div><!--End of green doc box--><!--<br />
Link box below for the doc meta-data:<br />
-->{{#if: <br />
<!--Check if we should show the link box--><br />
{{#ifeq: {{{link box|}}} | off<br />
|<br />
| {{{doc exist|yes}}}{{<br />
#switch: {{SUBJECTSPACE}}<br />
| {{ns:User}}<br />
| {{ns:Template}} = yes<br />
}}<br />
}}<br />
<br />
| {{fmbox<br />
| id = documentation-meta-data<br />
| image = none<br />
| style = background-color: #ecfcf4;<br />
| textstyle = font-style: italic;<br />
| text = <br />
{{#if: {{{link box|}}}<br />
| {{{link box}}} <!--Use custom link box content--><br />
| {{#if: {{{doc exist|yes}}}<br />
| <!--/doc exists, link to it--><br />
The above [[Wikipedia:Template documentation|documentation]] is [[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><br />
}}<!-- <br />
Add links to /sandbox and /testcases when appropriate:<br />
-->{{#switch: {{SUBJECTSPACE}}<br />
| {{ns:User}}<br />
| {{ns:Template}} = <br />
Editors can experiment in this template's {{<br />
#ifexist: {{{sandbox| {{FULLPAGENAME}}/sandbox }}}<br />
| [[{{{sandbox| {{FULLPAGENAME}}/sandbox }}}|sandbox]] <small style="font-style: normal">([{{fullurl: {{{sandbox| {{FULLPAGENAME}}/sandbox }}} | action=edit }} edit] <nowiki>|</nowiki> [{{fullurl:Special:ComparePages | page1={{urlencode:{{{template page|{{FULLPAGENAME}}}}}}}&page2={{urlencode:{{{sandbox|{{FULLPAGENAME}}/sandbox}}}}}}} diff])</small> <br />
| sandbox <small style="font-style: normal">([{{fullurl: {{{sandbox| {{FULLPAGENAME}}/sandbox }}} | action=edit&preload=Template:Documentation/preload-sandbox }} create] <nowiki>|</nowiki> [{{fullurl: {{{sandbox| {{FULLPAGENAME}}/sandbox }}} | action=edit&preload={{urlencode:{{{template page|{{FULLPAGENAME}}}}}}}&summary={{urlencode:Create sandbox version of [[{{{template page|{{FULLPAGENAME}}}}}]]}} }} mirror])</small> <br />
}} and {{<br />
#ifexist: {{{testcases| {{FULLPAGENAME}}/testcases }}}<br />
| [[{{{testcases| {{FULLPAGENAME}}/testcases }}}|testcases]] <small style="font-style: normal">([{{fullurl: {{{testcases| {{FULLPAGENAME}}/testcases }}} | action=edit }} edit])</small><br />
| testcases <small style="font-style: normal">([{{fullurl: {{{testcases| {{FULLPAGENAME}}/testcases }}} | action=edit&preload=Template:Documentation/preload-testcases }} create])</small><br />
}} pages. <br><br />
}}<!--<br />
Show the cats and interwiki text, but not <br />
if "content" fed or "docname fed" since then it is <br />
unclear where to add the cats and interwikis.<br />
-->{{#if: {{{content|}}} {{{docname fed|}}}<br />
| <br />
| Please add categories and interwikis to the [[{{{docpage|{{FULLPAGENAME}}/doc}}}|/doc]] subpage.<br />
}}<!--<br />
Show the "Subpages" link:<br />
-->{{#switch: {{SUBJECTSPACE}}<br />
| {{ns:File}} = <!--Don't show it--><br />
| {{ns:Template}} = &#32;[[Special:PrefixIndex/{{{template page|{{FULLPAGENAME}}}}}/|Subpages of this template]].<br />
| #default = &#32;[[Special:PrefixIndex/{{{template page|{{FULLPAGENAME}}}}}/|Subpages of this page]].<br />
}}<br />
}}{{#ifexist:{{FULLPAGENAME}}/Print<br />
|</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]]<br />
}}<br />
}}<br />
}}<!--End link box--><!--<br />
<br />
Detect and report strange usage:<br />
-->{{#if:<br />
<br />
<!--Check if {{documentation}} is transcluded <br />
on a /doc or /testcases page--><br />
{{#switch: {{SUBPAGENAME}}<br />
| doc<br />
| testcases = strange<br />
}}<br />
<!--More checks can be added here, just return anything<br />
to make the surrounding if-case trigger--><br />
<br />
| <includeonly>[[Category:Wikipedia pages with strange ((documentation)) usage|{{main other|Main:}}{{FULLPAGENAME}}]]<!-- Sort on namespace --></includeonly><br />
<br />
}}<noinclude><br />
{{pp-template|small=yes}}<br />
</noinclude></div>WOSlinker