https://wiki.contextgarden.net/index.php?title=Template:Documentation/core&feed=atom&action=history
Template:Documentation/core - Revision history
2024-03-29T00:19:41Z
Revision history for this page on the wiki
MediaWiki 1.34.1
https://wiki.contextgarden.net/index.php?title=Template:Documentation/core&diff=20543&oldid=prev
Esteisbot: moved Template:documentation/core to Template:Documentation/core: move to Uppercase
2012-09-18T14:49:27Z
<p>moved <a href="/Template:documentation/core" class="mw-redirect" title="Template:documentation/core">Template:documentation/core</a> to <a href="/Template:Documentation/core" title="Template:Documentation/core">Template:Documentation/core</a>: move to Uppercase</p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">Revision as of 14:49, 18 September 2012</td>
</tr>
<!-- diff cache key wikidb16_33:diff::1.12:old-20176:rev-20543 -->
</table>
Esteisbot
https://wiki.contextgarden.net/index.php?title=Template:Documentation/core&diff=20176&oldid=prev
Esteis: Nicked from the 'pedia
2012-07-27T14:30:27Z
<p>Nicked from the 'pedia</p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">Revision as of 14:30, 27 July 2012</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l31" >Line 31:</td>
<td colspan="2" class="diff-lineno">Line 31:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> <!--"heading" not defined in this or previous level--></div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> <!--"heading" not defined in this or previous level--></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> {{#switch: {{SUBJECTSPACE}} </div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> {{#switch: {{SUBJECTSPACE}} </div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> | {{ns:Template}} = [[Image:Template-info.<del class="diffchange diffchange-inline">svg</del>|50px|alt=]] Template documentation</div></td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> | {{ns:Template}} = [[Image:Template-info.<ins class="diffchange diffchange-inline">png</ins>|50px|alt=]] Template documentation</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> | {{ns:File}} = Summary</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> | {{ns:File}} = Summary</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> | #default = Documentation</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> | #default = Documentation</div></td></tr>
<tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l122" >Line 122:</td>
<td colspan="2" class="diff-lineno">Line 122:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> to make the surrounding if-case trigger--></div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> to make the surrounding if-case trigger--></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>| <includeonly>[[Category:<del class="diffchange diffchange-inline">Wikipedia pages </del>with strange ((documentation)) usage|{{main other|Main:}}{{FULLPAGENAME}}]]<!-- Sort on namespace --></includeonly></div></td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>| <includeonly>[[Category:<ins class="diffchange diffchange-inline">Pages </ins>with strange ((documentation)) usage|{{main other|Main:}}{{FULLPAGENAME}}]]<!-- Sort on namespace --></includeonly></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>}}<noinclude></div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>}}<noinclude></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><!-- Add categories and interwikis to the /doc subpage, not here! --></div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><!-- Add categories and interwikis to the /doc subpage, not here! --></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">[[nso:Template:Documentation/core]]</del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div></noinclude></div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div></noinclude></div></td></tr>
<!-- diff cache key wikidb16_33:diff::1.12:old-20175:rev-20176 -->
</table>
Esteis
https://wiki.contextgarden.net/index.php?title=Template:Documentation/core&diff=20175&oldid=prev
Esteis: Stolen from Wikipedia
2012-07-27T14:27:15Z
<p>Stolen from Wikipedia</p>
<p><b>New page</b></p><div><!--<br />
Start of green doc box<br />
--><div id="template-documentation" class="template-documentation iezoomfix"><!--<br />
Add the heading at the top of the doc box:<br />
-->{{#ifeq: {{{heading|¬}}} | <!--Defined but empty--><br />
| <!--"heading=", do nothing--><br />
| <div style="padding-bottom: 3px; border-bottom: 1px solid #aaa; margin-bottom: 1ex;">{{<br />
#if: {{{content|}}}<br />
| <br />
| <!--Add the [edit][purge] or [create] links--><br />
<span class="editsection plainlinks" id="doc_editlinks">{{<br />
#if: {{{doc exist|yes}}}<br />
| [[{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}|action=edit}} edit]] [{{purge|purge}}] <br />
| <!--/doc doesn't exist--><br />
[[{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}| action=edit&preload={{<br />
#if: {{{preload|}}} <br />
| {{urlencode:{{{preload}}}}}<br />
| {{#ifeq: {{SUBJECTSPACE}} | {{ns:File}}<br />
| Template:Documentation/preload-filespace<br />
| Template:Documentation/preload<br />
}} }} }} create]]<br />
}}</span><br />
}} <span style="{{#if: {{{heading-style|}}}<br />
| {{{heading-style|}}}<br />
| {{#ifeq: {{SUBJECTSPACE}} | {{ns:Template}}<br />
| font-weight: bold; font-size: 125%<br />
| font-size: 150%<br />
}}<br />
}}">{{#switch: {{{heading|¬}}}<br />
| ¬ = <br />
<!--"heading" not defined in this or previous level--><br />
{{#switch: {{SUBJECTSPACE}} <br />
| {{ns:Template}} = [[Image:Template-info.svg|50px|alt=]] Template documentation<br />
| {{ns:File}} = Summary<br />
| #default = Documentation<br />
}}<br />
| #default = <br />
<!--"heading" has data or is empty but defined--><br />
{{{heading|}}}<br />
}}</span></div><br />
}}<!--<br />
Load the /doc content:<br />
Note: The line breaks between this comment and the if-case<br />
and between the if-case and the following div are necessary so <br />
"=== Headings ===" at the start and end of docs are interpreted.<br />
--><br />
{{#if: {{{content|}}}<br />
| {{{content|}}}<br />
| {{#if: {{{doc exist|yes}}}<br />
| {{ {{{docpage|{{FULLPAGENAME}}/doc}}} }}<br />
}}<br />
}}<br />
<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] {{!}} [{{fullurl:Wikipedia:Pagediff | withJS={{urlencode:MediaWiki:Common.js/pagediff.js}}&oldpage={{urlencode:{{{template page|{{FULLPAGENAME}}}}}}}&newpage={{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])</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 />
<br />
<!-- Add categories and interwikis to the /doc subpage, not here! --><br />
[[nso:Template:Documentation/core]]<br />
</noinclude></div>
Esteis