https://mw-live.lojban.org/index.php?title=Template:Documentation/end_box&feed=atom&action=history
Template:Documentation/end box - Revision history
2024-03-29T12:45:31Z
Revision history for this page on the wiki
MediaWiki 1.38.4
https://mw-live.lojban.org/index.php?title=Template:Documentation/end_box&diff=84526&oldid=prev
Gleki: 1 revision
2014-03-01T11:46:54Z
<p>1 revision</p>
<table style="background-color: #fff; color: #202122;" 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: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 11:46, 1 March 2014</td>
</tr>
<!-- diff cache key mediawiki:diff::1.12:old-84525:rev-84526 -->
</table>
Gleki
https://mw-live.lojban.org/index.php?title=Template:Documentation/end_box&diff=84525&oldid=prev
Gleki: 1 revision
2014-02-28T12:15:44Z
<p>1 revision</p>
<p><b>New page</b></p><div><!--<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:Module}}<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 />
|<!-- /doc does not exist, ask to create one?<br />
-->{{#switch: {{SUBJECTSPACE}}<br />
| {{ns:Module}} = You might want to [{{fullurl: {{{docpage| {{FULLPAGENAME}}/doc }}} | action=edit&preload=Template:Documentation/preload-module-doc }} create] a documentation page for this [[Wikipedia:Lua|Scribunto module]]<br><br />
| #default =<br />
}}<br />
}}<!-- <br />
Add links to /sandbox and /testcases when appropriate:<br />
-->{{#switch: {{SUBJECTSPACE}}<br />
| {{ns:User}}<br />
| {{ns:Module}}<br />
| {{ns:Template}} = <br />
Editors can experiment in this {{#switch: {{SUBJECTSPACE}} | {{ns:module}} = module's | #default = 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-{{#ifeq: {{SUBJECTSPACE}}|{{ns:Module}}|module-}}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-{{#ifeq: {{SUBJECTSPACE}}|{{ns:Module}}|module-}}testcases&summary={{urlencode:Create testcases page for [[{{{template page|{{FULLPAGENAME}}}}}]]}} }} create])</small><br />
}} pages. <br /><br />
}}<!--<br />
Show the cats text, but not <br />
if "content" fed or "docname fed" since then it is <br />
unclear where to add the cats.<br />
-->{{#if: {{{content|}}} {{{docname fed|}}}<br />
| <br />
| Please add categories 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:Module}} = &#32;[[Special:PrefixIndex/{{{template page|{{FULLPAGENAME}}}}}/|Subpages of this module]].<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 />
}}</div>
Gleki