Changes
Jump to navigation
Jump to search
m
Changed protection level for "Template:Pgn": Allowing template editors on some templates with full protection dating back to pre-WP:TPROT times which aren't too often or too sensitively used. ([Edit=Require template editor access] (indefinite)...
{{pgn/core
| pagename =
{{#if: {{{page|}}}
| {{PAGENAME: {{{page|}}} }}
| {{PAGENAME}}
}}
| namespace = <!-- Empty if no namespace selected, or if main space -->
{{#if: {{{page|}}}
| {{#switch: {{{1|}}}
| fullpage
| fullbasepage
| fullrootpage
| ns = {{NAMESPACE: {{{page|}}} }}
| ss = {{SUBJECTSPACE: {{{page|}}} }}
| ts = {{TALKSPACE: {{{page|}}} }}
}}
| {{#switch: {{{1|}}}
| fullpage
| fullbasepage
| fullrootpage
| ns = {{NAMESPACE}}
| ss = {{SUBJECTSPACE}}
| ts = {{TALKSPACE}}
}}
}}
<!-- See to that the rest of the parameters always start from 1.
And the feeding as "2=" strips surrounding whitespace. -->
| 1 = {{#switch:{{{1|}}}|ns|ss|ts = {{{2|}}} | #default = {{{1|}}} }}
| 2 = {{#switch:{{{1|}}}|ns|ss|ts = {{{3|}}} | #default = {{{2|}}} }}
| 3 = {{#switch:{{{1|}}}|ns|ss|ts = {{{4|}}} | #default = {{{3|}}} }}
| 4 = {{#switch:{{{1|}}}|ns|ss|ts = {{{5|}}} | #default = {{{4|}}} }}
}}<noinclude>
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
| pagename =
{{#if: {{{page|}}}
| {{PAGENAME: {{{page|}}} }}
| {{PAGENAME}}
}}
| namespace = <!-- Empty if no namespace selected, or if main space -->
{{#if: {{{page|}}}
| {{#switch: {{{1|}}}
| fullpage
| fullbasepage
| fullrootpage
| ns = {{NAMESPACE: {{{page|}}} }}
| ss = {{SUBJECTSPACE: {{{page|}}} }}
| ts = {{TALKSPACE: {{{page|}}} }}
}}
| {{#switch: {{{1|}}}
| fullpage
| fullbasepage
| fullrootpage
| ns = {{NAMESPACE}}
| ss = {{SUBJECTSPACE}}
| ts = {{TALKSPACE}}
}}
}}
<!-- See to that the rest of the parameters always start from 1.
And the feeding as "2=" strips surrounding whitespace. -->
| 1 = {{#switch:{{{1|}}}|ns|ss|ts = {{{2|}}} | #default = {{{1|}}} }}
| 2 = {{#switch:{{{1|}}}|ns|ss|ts = {{{3|}}} | #default = {{{2|}}} }}
| 3 = {{#switch:{{{1|}}}|ns|ss|ts = {{{4|}}} | #default = {{{3|}}} }}
| 4 = {{#switch:{{{1|}}}|ns|ss|ts = {{{5|}}} | #default = {{{4|}}} }}
}}<noinclude>
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>