Template

Difference between revisions of "Documentation subpage"

(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...)
m (1 revision imported: LangSwitch template, allows to adapt text to reader's language)
Line 3: Line 3:
 
</includeonly>{{
 
</includeonly>{{
 
     #ifeq: {{{doc-notice|show}}} | show
 
     #ifeq: {{{doc-notice|show}}} | show
     | {{ombox
+
     | {{mbox
 
       | type = notice
 
       | type = notice
 
       | image = [[File:Edit-copy green.svg|40px|link=]]
 
       | image = [[File:Edit-copy green.svg|40px|link=]]
       | text = '''This is a [[Help:Template documentation|documentation]] [[mw:Help:Subpages|subpage]] for {{#if: {{{1|}}} | {{{1}}} | [[:{{SUBJECTSPACE}}:{{BASEPAGENAME}}]] }}.'''<br />
+
       | text = {{Documentation subpage/text/{{#ifexist:Template:Documentation subpage/text/{{int:lang}}|{{int:lang}}|en}}|1={{{1|}}}|text2={{{text2|}}}|text1={{{text1|}}}}}
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 17: Line 16:
 
       | Module    = Module
 
       | Module    = Module
 
       | User      = User
 
       | User      = User
       | #default  = Template
+
       | #default  = Wikidata
 
     }} documentation pages]]|[[Category:Documentation subpages without corresponding pages]]}}</includeonly>
 
     }} documentation pages]]|[[Category:Documentation subpages without corresponding pages]]}}</includeonly>
 
   }}<includeonly>
 
   }}<includeonly>
| <nowiki /><!-- if not on a /doc subpage, do nothing -->
+
| <!-- 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 11:12, 17 November 2020

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