Template:Talkspace detect/sandbox: Difference between revisions

Content deleted Content added
Making it fully compatible with the other namespace detection templates.
Removing support for deprecated "image" space name, after all this is a new template.
Line 12:
<!-- Only one of the lines below will be executed -->
<!-- Respecting empty parameters on purpose -->
| main <!-- demospace = main ... portal -->
| main
| user
| project <!-- project = wikipedia -->
| wikipedia
| image <!-- image = file -->
| file
| mediawiki
Line 27 ⟶ 25:
| talk = {{{talk| {{{other|}}} }}}
| user talk = {{{user talk| {{{other|}}} }}}
| filewikipedia talk = {{{file talk| {{{imagewikipedia talk| {{{other|}}} }}} }}}
| project talk
| wikipediafile talk = {{{wikipedia talk| = {{{projectfile talk| {{{other|}}} }}} }}}
| image talk
| file talk = {{{file talk| {{{image talk| {{{other|}}} }}} }}}
| mediawiki talk = {{{mediawiki talk| {{{other|}}} }}}
| template talk = {{{template talk| {{{other|}}} }}}
Line 36 ⟶ 32:
| category talk = {{{category talk| {{{other|}}} }}}
| portal talk = {{{portal talk| {{{other|}}} }}}
 
| other
| #default = {{{other|}}} <!--"demospace=other" or a new talkspace-->