"ഫലകം:Documentation/core" എന്ന താളിന്റെ പതിപ്പുകൾ തമ്മിലുള്ള വ്യത്യാസം

Adding the "link box = off" parameter.
Using the heading "Summary" instead of "Documentation" when in File space. Adding "Add categories and interwikis to the /doc". Adding link "Subpages of this template". Adding debug-reporting to a cat.
വരി 17:
}} <span style="{{#if: {{{heading-style|}}}
| {{{heading-style|}}}
| {{#ifeq: {{NAMESPACESUBJECTSPACE}} | {{ns:Template}}
| font-weight: bold; font-size: 125%
| font-size: 150%
വരി 24:
| ¬ =
<!--"heading" not defined in this or previous level-->
{{#ifeqswitch: {{NAMESPACESUBJECTSPACE}} | {{ns:template}}
| {{ns:Template}} = [[Image:Template-info.svg|50px]] Template documentation
| Documentation{{ns:File}} = Summary
| #default = Documentation
}}
| #default =
Line 34 ⟶ 35:
}}<!--
Load the /doc content:
Note: The line breakbreaks between this comment and the if-case
and between the if-case and the following div are necessary so
is necessary, it makes it so "=== Headings ===" at
"=== Headings ===" at the start and end of docs are interpreted.
-->
{{#if: {{{content|}}}
Line 44 ⟶ 45:
}}
}}
<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--><!--
Small box below for the doc meta-data.
Line 62 ⟶ 63:
| image = none
| style = background-color: #ecfcf4;
| textstyle = font-style: italic;
| text =
''{{#if: {{{doc exist|yes}}}
| <!--/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>
Line 79 ⟶ 81:
| [[{{{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>
}} pages. <br>
}}{{#if: {{{content|}}} {{{docname fed|}}}
}}''|
| Add categories and interwikis to the /doc subpage.
}} [[Special:PrefixIndex/{{{template page|{{FULLPAGENAME}}}}}/|Subpages of this template]].
}}
}}<!--
Detect and report strange usage:
-->{{#if:
<!--Check if there are /doc, /sandbox and /testcases in talk space
when they should be in subject space, and the other way around-->
{{#ifexist:
{{{not-docspace|}}}:{{PAGENAME:{{{template page|{{FULLPAGENAME}}}}}}}/doc
| strange
}}{{#ifexist:
{{{not-docspace|}}}:{{PAGENAME:{{{template page|{{FULLPAGENAME}}}}}}}/sandbox
| strange
}}{{#ifexist:
{{{not-docspace|}}}:{{PAGENAME:{{{template page|{{FULLPAGENAME}}}}}}}/testcases
| strange
}}
<!--Check if {{documentation}} is transcluded
on a /doc or /testcases page-->
{{#switch: {{SUBPAGENAME}}
| doc
| testcases = strange
}}
 
| [[Category:Wikipedia pages with strange ((documentation)) usage|{{main other|Main:}}{{FULLPAGENAME}}]]<!-- Sort on namespace -->
}}<noinclude>
 
"https://ml.wikipedia.org/wiki/ഫലകം:Documentation/core" എന്ന താളിൽനിന്ന് ശേഖരിച്ചത്