Template:Namespace detect showall: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Jo-Jo Eumerus m Changed protection level for "Template:Namespace detect showall": 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... |
meta>Headbomb update |
||
| Line 3: | Line 3: | ||
{{lc: <!--Lower case the result--> | {{lc: <!--Lower case the result--> | ||
<!--If no or empty "demospace" parameter then detect namespace--> | <!--If no or empty "demospace" parameter then detect namespace--> | ||
{{#if:{{{demospace|}}} | {{#if:{{{demospace|}}} | ||
| {{{demospace}}} | | {{{demospace}}} | ||
| {{#if:{{{page|}}} | | {{#if:{{{page|}}} | ||
| <!--Detect the namespace in the "page" parameter--> | | <!--Detect the namespace in the "page" parameter--> | ||
{{#ifeq:{{NAMESPACE:{{{page}}} }}|{{TALKSPACE:{{{page}}} }} | {{#ifeq:{{NAMESPACE:{{{page}}} }}|{{TALKSPACE:{{{page}}} }} | ||
| talk | | talk | ||
| {{SUBJECTSPACE:{{{page}}} }} | | {{SUBJECTSPACE:{{{page}}} }} | ||
}} | }} | ||
| <!--No "demospace" or "page" parameters, so detect actual namespace--> | | <!--No "demospace" or "page" parameters, so detect actual namespace--> | ||
{{#ifeq:{{NAMESPACE}}|{{TALKSPACE}} | {{#ifeq:{{NAMESPACE}}|{{TALKSPACE}} | ||
| talk | | talk | ||
| {{SUBJECTSPACE}} | | {{SUBJECTSPACE}} | ||
}} | }} | ||
}} | }} | ||
| Line 35: | Line 35: | ||
| portal = {{{portal| {{{other|}}} }}} | | portal = {{{portal| {{{other|}}} }}} | ||
| book = {{{book| {{{other|}}} }}} | | book = {{{book| {{{other|}}} }}} | ||
| draft = {{{draft| {{{other|}}} }}} | |||
| other | | other | ||
| #default = {{{other|}}} <!--"demospace=other" or a new namespace--> | | #default = {{{other|}}} <!--"demospace=other" or a new namespace--> | ||
| Line 45: | Line 46: | ||
| 5 = {{{5|}}} | | 5 = {{{5|}}} | ||
| 6 = {{{6|}}} | | 6 = {{{6|}}} | ||
| showall = {{{1|}}}{{{2|}}}{{{3|}}}{{{4|}}}{{{5|}}}{{{6|}}} | | 7 = {{{7|}}} | ||
| 8 = {{{8|}}} | |||
| 9 = {{{9|}}} | |||
| 10 = {{{10|}}} | |||
| 11 = {{{11|}}} | |||
| 12 = {{{12|}}} | |||
| 13 = {{{13|}}} | |||
| showall = {{{1|}}}{{{2|}}}{{{3|}}}{{{4|}}}{{{5|}}}{{{6|}}}{{{7|}}}{{{8|}}}{{{9|}}}{{{10|}}}{{{11|}}}{{{12|}}}{{{13|}}} | |||
}}<noinclude> | }}<noinclude> | ||
Revision as of 06:33, 26 August 2018
Lua error in Module:Documentation at line 7: Module:Documentation/config returned boolean, table expected.