Skillnad mellan versioner av "Mall:Documentation subpage"
Från Svensk MJ-Wiki
(restrict categorisation to template, project and user namespaces, per talk) |
(use "Category:xxx documentation pages") |
||
Rad 14: | Rad 14: | ||
| <includeonly>[[Category:{{ | | <includeonly>[[Category:{{ | ||
#switch: {{SUBJECTSPACE}} | #switch: {{SUBJECTSPACE}} | ||
− | | Template = Template | + | | Template = Template |
− | | User = User | + | | User = User |
− | | #default = Wikipedia | + | | #default = Wikipedia |
− | }}]]</includeonly> | + | }} documentation pages]]</includeonly> |
}}<includeonly> | }}<includeonly> | ||
| <!-- if not on a /doc subpage, do nothing --> | | <!-- if not on a /doc subpage, do nothing --> |
Versionen från 17 oktober 2011 kl. 22.59
{{
#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:}}]] }}