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>&lt;!--<br /> Start of green doc box<br /> --&gt;&lt;div id=&quot;template-documentation&quot; class=&quot;template-documentation iezoomfix&quot;&gt;&lt;!--<br /> Add the heading at the top of the doc box:<br /> --&gt;{{#ifeq: {{{heading|¬}}} | &lt;!--Defined but empty--&gt;<br /> | &lt;!--&quot;heading=&quot;, do nothing--&gt;<br /> | &lt;div style=&quot;padding-bottom: 3px; border-bottom: 1px solid #aaa; margin-bottom: 1ex;&quot;&gt;{{<br /> #if: {{{content|}}}<br /> | <br /> | &lt;!--Add the [edit][purge] or [create] links--&gt;<br /> &lt;span class=&quot;editsection plainlinks&quot; id=&quot;doc_editlinks&quot;&gt;{{<br /> #if: {{{doc exist|yes}}}<br /> | [[{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}|action=edit}} edit]] [{{purge|purge}}] <br /> | &lt;!--/doc doesn't exist--&gt;<br /> [[{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}| action=edit&amp;preload={{<br /> #if: {{{preload|}}} <br /> | {{urlencode:{{{preload}}}}}<br /> | {{#ifeq: {{SUBJECTSPACE}} | {{ns:File}}<br /> | Template:Documentation/preload-filespace<br /> | Template:Documentation/preload<br /> }} }} }} create]]<br /> }}&lt;/span&gt;<br /> }} &lt;span style=&quot;{{#if: {{{heading-style|}}}<br /> | {{{heading-style|}}}<br /> | {{#ifeq: {{SUBJECTSPACE}} | {{ns:Template}}<br /> | font-weight: bold; font-size: 125%<br /> | font-size: 150%<br /> }}<br /> }}&quot;&gt;{{#switch: {{{heading|¬}}}<br /> | ¬ = <br /> &lt;!--&quot;heading&quot; not defined in this or previous level--&gt;<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 /> &lt;!--&quot;heading&quot; has data or is empty but defined--&gt;<br /> {{{heading|}}}<br /> }}&lt;/span&gt;&lt;/div&gt;<br /> }}&lt;noinclude&gt;&lt;!-- close the div --&gt;&lt;/div&gt;<br /> <br /> {{pp-template}}<br /> &lt;!-- Add categories and interwikis to the /doc subpage, not here! --&gt;<br /> &lt;/noinclude&gt;</div> Defyboy