Changes

Template:Documentation

930 bytes added, 18:59, 22 January 2014
m
some doc pages need a few parameters (e.g. for feeding categories in their includeonly section, or for the actual template name to document)
{{Documentationdocumentation/core2| heading = {{Fallback{heading|Documentation¬}}}<!--defined and empty means no header-->|heading-style = {{{langheading-style|}}}|link box = {{int{link box|}}} <!--So "link box=off" works-->| template page = <!--The namespace is added in /core2--> {{#switch:Lang{{SUBPAGENAME}} | sandbox | testcases = {{BASEPAGENAME}} | #default = {{PAGENAME}} }}| docspace = <!--Some namespaces must have the /doc, /sandbox and /testcases in talk space--> {{#switch: {{SUBJECTSPACE}} | {{ns:0}} | {{ns:File}} | {{ns:MediaWiki}} | {{ns:Category}} = {{TALKSPACE}} | #default = {{SUBJECTSPACE}} }}| content = {{{content|} }} |1={{{1|}}} <!--Other docname, if fed-->| {{#if: {{{2|}}} | 2 | <!--dummy--> }} = {{SUBJECTPAGENAME{2|}}/} <!--Other parameters for docpage, if fed-->| {{#if: {{{3|}}} |23 | <!--dummy--> }} ={{{heading3|}}} <!--Other parameters for doc page, if fed-->|{{#if: {{{24|}}} | 4 | <!--dummy--> }} = {{{4|}}} <!--Other parameters for doc page, if fed-->}}<noinclude><!-- Add categories and interwikis to the /doc subpage, not here! ??? --></noinclude>
Anonymous user