Template:Document/end box: Difference between revisions

From MapleWiki
Jump to navigation Jump to search
(Created page with "<noinclude><div></noinclude><div style="clear: both;"></div><!--So right or left floating items don't stick out of the doc box.--> </div><!--End of green doc box--><!-- Link bo...")
 
mNo edit summary
 
Line 14: Line 14:


| {{fmbox
| {{fmbox
   | id = documentation-meta-data
   | id = document-meta-data
   | image = none
   | image = none
   | style = background-color: #ecfcf4;
   | style = background-color: #ecfcf4;
Line 23: Line 23:
     | {{#if: {{{doc exist|yes}}}
     | {{#if: {{{doc exist|yes}}}
       | <!--/doc exists, link to it-->
       | <!--/doc exists, link to it-->
         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>
         The above [[MapleWiki:Template document|documentation]] is [[MapleWiki: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>
       }}<!--  
       }}<!--  
         Add links to /sandbox and /testcases when appropriate:
         Add links to /sandbox and /testcases when appropriate:
Line 36: Line 36:
         #ifexist: {{{testcases| {{FULLPAGENAME}}/testcases }}}
         #ifexist: {{{testcases| {{FULLPAGENAME}}/testcases }}}
         | [[{{{testcases| {{FULLPAGENAME}}/testcases }}}|testcases]] <small style="font-style: normal">([{{fullurl: {{{testcases| {{FULLPAGENAME}}/testcases }}} | action=edit }} edit])</small>
         | [[{{{testcases| {{FULLPAGENAME}}/testcases }}}|testcases]] <small style="font-style: normal">([{{fullurl: {{{testcases| {{FULLPAGENAME}}/testcases }}} | action=edit }} edit])</small>
         | testcases <small style="font-style: normal">([{{fullurl: {{{testcases| {{FULLPAGENAME}}/testcases }}} | action=edit&preload=Template:Documentation/preload-testcases }} create])</small>
         | testcases <small style="font-style: normal">([{{fullurl: {{{testcases| {{FULLPAGENAME}}/testcases }}} | action=edit&preload=Template:Document/preload-testcases }} create])</small>
         }} pages. <br>
         }} pages. <br>
       }}<!--
       }}<!--
Line 61: Line 61:
-->{{#if:
-->{{#if:


   <!--Check if {{documentation}} is transcluded  
   <!--Check if {{document}} is transcluded  
       on a /doc or /testcases page-->
       on a /doc or /testcases page-->
   {{#switch: {{SUBPAGENAME}}
   {{#switch: {{SUBPAGENAME}}
Line 70: Line 70:
       to make the surrounding if-case trigger-->
       to make the surrounding if-case trigger-->


| <includeonly>[[Category:Wikipedia pages with strange ((documentation)) usage|{{main other|Main:}}{{FULLPAGENAME}}]]<!-- Sort on namespace --></includeonly>
| <includeonly>[[Category:MapleWiki pages with strange ((document)) usage|{{main other|Main:}}{{FULLPAGENAME}}]]<!-- Sort on namespace --></includeonly>


}}<noinclude>
}}<noinclude>
{{pp-template|small=yes}}
{{pp-template|small=yes}}
</noinclude>
</noinclude>

Latest revision as of 04:59, 6 August 2011