http://www.psdevwiki.com/ps3/history/Template:Documentation/start_box?feed=atom&
Template:Documentation/start box - Revision history
2024-03-29T00:58:16Z
Revision history for this page on the wiki
MediaWiki 1.39.6
http://www.psdevwiki.com/ps3/index.php?title=Template:Documentation/start_box&diff=8556&oldid=prev
Defyboy: 1 revision: Importing useful Templates
2012-01-10T00:08:55Z
<p>1 revision: Importing useful Templates</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=Documentation icon]] 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 />
}}<noinclude><!-- close the div --></div><br />
<br />
{{pp-template}}<br />
<!-- Add categories and interwikis to the /doc subpage, not here! --><br />
</noinclude></div>
Defyboy