Skillnad mellan versioner av "Mall:Documentation subpage"
Från Svensk MJ-Wiki
(use "Category:xxx documentation pages") |
(Add Category:Documentation subpages without corresponding pages per talk request) |
||
Rad 12: | Rad 12: | ||
#if: {{{inhibit|}}} | #if: {{{inhibit|}}} | ||
| <!-- skip --> | | <!-- skip --> | ||
− | | <includeonly>[[Category:{{ | + | | <includeonly>{{#ifexist:{{BASEPAGENAME}}|[[Category:{{ |
#switch: {{SUBJECTSPACE}} | #switch: {{SUBJECTSPACE}} | ||
| Template = Template | | Template = Template | ||
| User = User | | User = User | ||
| #default = Wikipedia | | #default = Wikipedia | ||
− | }} documentation pages]]</includeonly> | + | }} documentation pages]]|[[Category:Documentation subpages without corresponding pages]]}}</includeonly> |
}}<includeonly> | }}<includeonly> | ||
| <!-- if not on a /doc subpage, do nothing --> | | <!-- if not on a /doc subpage, do nothing --> |
Versionen från 19 december 2011 kl. 06.09
{{
#ifeq: show | show | Mall:Mbox }}{{ #if: | | }}
{{#switch:<translate></translate> | = {{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}} | #default=
{{#invoke:Template translation|renderTranslatedTemplate|template=Template:Documentation|noshift=1}}
}}{{#if:| [[Category:Template documentation pages{{#translation:}}]] }}