Skillnad mellan versioner av "Mall:Documentation subpage"
Från Svensk MJ-Wiki
m (I don't tkink we need to categorise other things than template doc) |
(rm <noinclude>| </noinclude>, does not work properly) |
||
Rad 28: | Rad 28: | ||
#if: {{{inhibit|}}} | #if: {{{inhibit|}}} | ||
| <!-- skip --> | | <!-- skip --> | ||
− | | {{#ifeq:{{SUBJECTSPACE}}|Template|[[Category:Template documentation | + | | {{#ifeq:{{SUBJECTSPACE}}|Template|[[Category:Template documentation]]}} |
}}<includeonly> | }}<includeonly> | ||
| <!-- if not on a /doc subpage, do nothing --> | | <!-- if not on a /doc subpage, do nothing --> |
Versionen från 5 juli 2010 kl. 12.54
{{#if: |
{{#if:x||}} |{{
#ifeq: show | show | Mall:Mbox }}{{ #if: | | {{#ifeq:Mall|Template|}} }}
{{#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:}}]] }}
}}