Difference between revisions of "Template:Documentation/core/sandbox"

From blackwiki
Jump to navigation Jump to search
test>Thesevenseas
(Added Code)
test>Thesevenseas
(Added Code)
Line 82: Line 82:
 
       | {{ns:Template}} =  
 
       | {{ns:Template}} =  
 
         Editors can experiment in this template's {{
 
         Editors can experiment in this template's {{
         #ifexist: {{{sandbox| {{FULLPAGENAME}}/sandbox }}} <!-- Don't display link if we're in the sandbox page. -->
+
         #ifexist: {{{sandbox| {{FULLBASEPAGENAME}}/sandbox }}} <!-- Don't display link if we're in the sandbox page. -->
         | {{#ifeq: {{SUBPAGENAME}} | sandbox | sandbox | [[{{{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>  
+
         | {{#ifeq: {{SUBPAGENAME}} | sandbox | sandbox | [[{{{sandbox| {{FULLBASEPAGENAME}}/sandbox }}}|sandbox]] }} <small style="font-style: normal">([{{fullurl: {{{sandbox| {{FULLBASEPAGENAME}}/sandbox }}} | action=edit }} edit] {{!}} [{{fullurl:Wikipedia:pagediff | withJS={{urlencode:MediaWiki:Common.js/pagediff.js}}&oldpage={{urlencode:{{{template page|{{FULLBASEPAGENAME}}}}}}}&newpage={{urlencode:{{{sandbox|{{FULLBASEPAGENAME}}/sandbox}}}}}}} diff])</small>  
         | sandbox <small style="font-style: normal">([{{fullurl: {{{sandbox| {{FULLPAGENAME}}/sandbox }}} | action=edit&preload=Template:Documentation/preload-sandbox }} create])</small>  
+
         | sandbox <small style="font-style: normal">([{{fullurl: {{{sandbox| {{FULLBASEPAGENAME}}/sandbox }}} | action=edit&preload=Template:Documentation/preload-sandbox }} create])</small>  
 
         }} and {{
 
         }} and {{
 
         #ifexist: {{{testcases| {{FULLROOTPAGENAME}}/testcases }}} <!-- Don't display link if we're in the testcases page. -->
 
         #ifexist: {{{testcases| {{FULLROOTPAGENAME}}/testcases }}} <!-- Don't display link if we're in the testcases page. -->

Revision as of 14:39, 5 October 2010

[create] Template documentation