Template:Documentation/end box: Difference between revisions

From Sarkarverse
Jump to navigation Jump to search
m (1 revision)
 
(clean up, change)
 
(4 intermediate revisions by the same user not shown)
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 [[Sarkarverse:Template documentation|documentation]] is [[Sarkarverse: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 />
       |<!-- /doc does not exist, ask to create one?
       |<!-- /doc does not exist, ask to create one?
   -->{{#switch: {{SUBJECTSPACE}}
   -->{{#switch: {{SUBJECTSPACE}}
         | {{ns:Module}} = You might want to [{{fullurl: {{{docpage| {{FULLPAGENAME}}/doc }}} | action=edit&preload=Template:Documentation/preload-module-doc }} create] a documentation page for this [[Wikipedia:Lua|Scribunto module]]<br>
         | {{ns:Module}} = You might want to [{{fullurl: {{{docpage| {{FULLPAGENAME}}/doc }}} | action=edit&preload=Template:Documentation/preload-module-doc }} create] a documentation page for this [[Sarkarverse:Lua|Scribunto module]]<br>
         | #default =
         | #default =
           }}
           }}
Line 42: Line 42:
         #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-{{#ifeq: {{SUBJECTSPACE}}|{{ns:Module}}|module-}}testcases }} create])</small>
         | testcases <small style="font-style: normal">([{{fullurl: {{{testcases| {{FULLPAGENAME}}/testcases }}} | action=edit&preload=Template:Documentation/preload-{{#ifeq: {{SUBJECTSPACE}}|{{ns:Module}}|module-}}testcases&summary={{urlencode:Create testcases page for [[{{{template page|{{FULLPAGENAME}}}}}]]}} }} create])</small>
         }} pages. <br />
         }} pages. <br />
       }}<!--
       }}<!--
Line 77: Line 77:
       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:Sarkarverse pages with strange ((documentation)) usage|{{main other|Main:}}{{FULLPAGENAME}}]]<!-- Sort on namespace --></includeonly>


}}
}}

Latest revision as of 14:45, 7 April 2014