FANDOM


Page 1
Page 2
(fix sitename)
 
(added sandbox template)
 
Line 1: Line 1:
<table class="plainlinks ambox">
+
<noinclude>{{Sandbox}}</noinclude>
<tr><td class="ambox-image">[[File:{{<!-- this #ifexist should stay so reusers can be lazy and only upload one image instead of four -->
+
<!-- Place work under this line. -->
#ifexist: File:{{ #switch: {{ #titleparts: {{PAGENAME}} || -1 }}
 
| doc = Edit-copy green.svg
 
| sandbox = Sandbox.png
 
| testcases = Gnome-applications-science.svg
 
}}
 
| {{ #switch: {{ #titleparts: {{PAGENAME}} || -1 }}
 
| doc = Edit-copy green.svg
 
| sandbox = Sandbox.png
 
| testcases = Gnome-applications-science.svg
 
}}
 
| Ambox-image.png
 
}}|40x40px]]</td>
 
<td class="ambox-text">{{
 
#switch: {{ #titleparts: {{PAGENAME}} || -1 }}
 
| doc | sandbox | testcases = <!-- no "copied from" notice on subpages -->
 
| #default = {{
 
#ifeq: {{SITENAME}} | {{{2}}}
 
|| This template was originally copied from [[w:c:{{{1}}}:{{{name|{{FULLPAGENAME}}}}}|{{{2}}}]] ([http://{{{1}}}.wikia.com/index.php?title={{ #if: {{{name|}}} | {{ urlencode: {{{name}}} }} | {{FULLPAGENAMEE}} }}&action=history history]); that Wikia may have a newer version of it.{{
 
#ifeq: {{SITENAME}} | Templates Wiki
 
|| &nbsp;You may also want to see if [[w:c:templates:{{{name|{{FULLPAGENAME}}}}}|Templates Wiki]] has a newer version.
 
}}<hr style="margin-right: 0.5em;" />
 
}}
 
}}{{
 
#switch: {{ #titleparts: {{PAGENAME}} || -1 }}
 
| doc | sandbox | testcases = This is the {{
 
#switch: {{ #titleparts: {{PAGENAME}} || -1 }}
 
| doc = documentation | sandbox = template sandbox | testcases = testcases
 
}} page for '''[[{{NAMESPACE}}:{{BASEPAGENAME}}]]'''.<br />
 
}}You can experiment with {{ #switch: {{ #titleparts: {{PAGENAME}} || -1 }} | doc | sandbox | testcases = that | this }} template's code {{ #ifeq: {{ #titleparts: {{PAGENAME}} || -1 }} | sandbox | here | on its {{ #ifexist: {{NAMESPACE}}:{{BASEPAGENAME}}/sandbox | [[{{NAMESPACE}}:{{BASEPAGENAME}}/sandbox|sandbox page]] ([{{fullurl:{{NAMESPACE}}:{{BASEPAGENAME}}/sandbox|action=edit}} edit] &#124; [{{fullurl:Special:ComparePages|page1={{FULLPAGENAMEE}}&page2={{urlencode:{{NAMESPACE}}:{{BASEPAGENAME}}/sandbox}}}} diff]) | sandbox page ([{{fullurl:{{NAMESPACE}}:{{BASEPAGENAME}}/sandbox|action=edit&preload=Template:Documentation/preload-sandbox}} create] &#124; [{{fullurl:{{NAMESPACE}}:{{BASEPAGENAME}}/sandbox|action=edit&preload={{FULLPAGENAMEE}}&summary={{urlencode:Create sandbox version of [[{{NAMESPACE}}:{{BASEPAGENAME}}]]}}}} mirror]) }} }} and test your changes {{ #ifeq: {{ #titleparts: {{PAGENAME}} || -1 }} | testcases | here | on its {{ #ifexist: {{NAMESPACE}}:{{BASEPAGENAME}}/testcases | [[{{NAMESPACE}}:{{BASEPAGENAME}}/testcases|testcases page]] ([{{fullurl:{{NAMESPACE}}:{{BASEPAGENAME}}/testcases|action=edit}} edit]) | testcases page ([{{fullurl:{{NAMESPACE}}:{{BASEPAGENAME}}/testcases|action=edit&preload=Template:Documentation/preload-testcases}} create]) }} }}.<hr style="margin-right: 0.5em;" />
 
If you want to experiment with template coding or wikicode in general, you are encouraged to do so on [[{{ns:4}}:Sandbox]], [[{{ns:10}}:Sandbox]], or your [[Special:Mypage/sandbox|userspace sandbox]] instead.</td></tr>
 
</table>{{
 
#switch: {{ #titleparts: {{PAGENAME}} || -1 }}
 
| doc = [[Category:Template documentation|{{PAGENAME}}]]
 
| sandbox = [[Category:Template sandboxes|{{PAGENAME}}]]
 
| testcases = [[Category:Template testcases|{{PAGENAME}}]]
 
}}<noinclude>
 
{{Documentation}}
 
</noinclude>
 
Community content is available under CC-BY-SA unless otherwise noted.