الگو:Documentation subpage: تفاوت میان نسخهها
صفحهای تازه حاوی «<includeonly>{{#ifeq: {{lc:{{SUBPAGENAME}}}} | {{{override|doc}}} | <!-- doc page --> </includeonly>{{ #ifeq: {{{doc-notice|show}}} |...» ایجاد کرد
(Added 1.0em margin so template looks less a part of subsequent content and amended code layout -- hope neither of these too controversial) |
Hasaninasab (بحث | مشارکتها) (صفحهای تازه حاوی «<includeonly>{{#ifeq: {{lc:{{SUBPAGENAME}}}} | {{{override|doc}}} | <!-- doc page --> </includeonly>{{ #ifeq: {{{doc-notice|show}}} |...» ایجاد کرد) |
||
خط ۱: | خط ۱: | ||
<includeonly | <includeonly>{{#ifeq: {{lc:{{SUBPAGENAME}}}} | {{{override|doc}}} | ||
| <!-- doc page --> | |||
</includeonly>{{ | |||
</includeonly | #ifeq: {{{doc-notice|show}}} | show | ||
| {{mbox | |||
| type = notice | |||
| image = [[File:Edit-copy green.svg|40px]] | |||
| text = | |||
'''This is a [[Wikihaj:Template documentation|documentation]] [[Wikihaj:Subpages|subpage]] for {{{1|[[:{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]}}}'''.<br />It contains usage information, [[Wikihaj:Categorization|categories]] and other content that is not part of the original {{ #if: {{{text2|}}} | {{{text2}}} | {{ #if: {{{text1|}}} | {{{text1}}} | {{ #ifeq: {{SUBJECTSPACE}} | {{ns:User}} | {{lc:{{SUBJECTSPACE}}}} template page | {{ #if: {{SUBJECTSPACE}} |{{lc:{{SUBJECTSPACE}}}} page|article}}}}}}}}. | |||
}} | |||
}}{{DEFAULTSORT:{{{defaultsort|{{PAGENAME}}}}}}}{{ | |||
'''This is a [[ | #if: {{{inhibit|}}} | ||
| <!-- skip --> | |||
| <includeonly>{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}|[[Category:{{ | |||
#switch: {{SUBJECTSPACE}} | |||
| Template = Template | |||
| Module = Module | |||
| User = User | |||
| #default = Wikihaj | |||
}} documentation pages]]|[[Category:Documentation subpages without corresponding pages]]}}</includeonly> | |||
}}<includeonly> | |||
| <!-- if not on a /doc subpage, do nothing --> | |||
}}</includeonly><noinclude> | |||
{{documentation}} | |||
<!-- Add categories to the /doc subpage, not here! --> | |||
</noinclude> | |||