Template

Difference between revisions of "Documentation subpage"

(restore proper i18n)
 
(move Category:Wikidata documentation pages to Category:Template documentation pages—these are template documentations after all, just in various namespaces for some reasons; use {{ombox}} so that the styling is consistent e...)
Line 3: Line 3:
 
</includeonly>{{
 
</includeonly>{{
 
     #ifeq: {{{doc-notice|show}}} | show
 
     #ifeq: {{{doc-notice|show}}} | show
     | {{mbox
+
     | {{ombox
 
       | type = notice
 
       | type = notice
 
       | image = [[File:Edit-copy green.svg|40px|link=]]
 
       | image = [[File:Edit-copy green.svg|40px|link=]]
       | text = {{Documentation subpage/text/{{#ifexist:Template:Documentation subpage/text/{{int:lang}}|{{int:lang}}|en}}|1={{{1|}}}|text2={{{text2|}}}|text1={{{text1|}}}}}
+
       | text = '''This is a [[Help:Template documentation|documentation]] [[mw:Help:Subpages|subpage]] for {{#if: {{{1|}}} | {{{1}}} | [[:{{SUBJECTSPACE}}:{{BASEPAGENAME}}]] }}.'''<br />
 +
It contains usage information, [[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}}}}}}}{{
 
     }}{{DEFAULTSORT:{{{defaultsort|{{PAGENAME}}}}}}}{{
Line 16: Line 17:
 
       | Module    = Module
 
       | Module    = Module
 
       | User      = User
 
       | User      = User
       | #default  = Wikidata
+
       | #default  = Template
 
     }} documentation pages]]|[[Category:Documentation subpages without corresponding pages]]}}</includeonly>
 
     }} documentation pages]]|[[Category:Documentation subpages without corresponding pages]]}}</includeonly>
 
   }}<includeonly>
 
   }}<includeonly>
| <!-- if not on a /doc subpage, do nothing -->
+
| <nowiki /><!-- if not on a /doc subpage, do nothing -->
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>
 
{{documentation}}
 
{{documentation}}
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
</noinclude>
 
</noinclude>

Revision as of 22:13, 21 August 2020

Lua error in package.lua at line 80: module 'strict' not found. Lua error in package.lua at line 80: module 'strict' not found.