Template:Draft article check: Difference between revisions
Appearance
imported>Deadfire creation |
Tungstenchan (talk | contribs) m Text replacement - "BattleTechWiki" to "BattleIntelligence" |
||
| Line 3: | Line 3: | ||
|<!--Mainspace--> | |<!--Mainspace--> | ||
|Main = <!-- Should not currently be used in mainspace --> | |Main = <!-- Should not currently be used in mainspace --> | ||
|Talk = {{#ifexist:Draft:{{{1|{{PAGENAME}}}}}|{{n.b.|20px}} There is a [[ | |Talk = {{#ifexist:Draft:{{{1|{{PAGENAME}}}}}|{{n.b.|20px}} There is a [[BattleIntelligence:Drafts|draft]] named [[Draft:{{{1|{{PAGENAME}}}}}|{{{1|{{PAGENAME}}}}}]].}} | ||
|Draft talk | |Draft talk | ||
|Draft = {{#switch:{{#ifexist:{{{1|{{PAGENAME}}}}}|{{#ifeq:{{#invoke:redirect|isRedirect|{{{1|{{PAGENAME}}}}}}}|yes | |Draft = {{#switch:{{#ifexist:{{{1|{{PAGENAME}}}}}|{{#ifeq:{{#invoke:redirect|isRedirect|{{{1|{{PAGENAME}}}}}}}|yes | ||
Latest revision as of 00:05, 1 May 2025
File:Test Template Info-Icon - Version (2).svg Template documentation[view] [edit] [history] [purge]
{{Draft article check}} is a template designed to alert editors to the existence of relevant articles or drafts.
Usage
| The functionality of this template is being developed and updated. It is currently mostly used in the Draft:/Draft talk: spaces via {{Draft article}}, so that's what's documented. Other namespaces are forthcoming, so it can be used in {{Userspace draft}}, for example, or by placing {{Draft article}} in other namespaces, like Talk: or Wikipedia: |
{{Draft article check}} will give different results depending on which namespace it is used, and which corresponding article exist in mainspace/draft space
| Namespace | Message |
|---|---|
| Draft | On Draft:Example: Template:N.b. The page Example in the mainspace is currently a redirect to BattleIntelligence:Example. (article) On Draft:J Phys C: (redirect) |
| Draft talk | On Draft talk:Example: Template:N.b. The page Example in the mainspace is currently a redirect to BattleIntelligence:Example. (article) On Draft talk:J Phys C: (redirect) |
| in development | |
| Main | On Example: (article) On J Phys C: (redirect) |
| Talk | On Talk:Example: Template:N.b. There is a draft named Example. (article) On Talk:J Phys C: (redirect) |
| User | On User:Example: Template:N.b. The page Example in the mainspace is currently a redirect to BattleIntelligence:Example. (article) On User:J Phys C: (redirect) |
| User talk | On User talk:Example: (article) On User talk:J Phys C: (redirect) |
| BattleIntelligence | On BattleIntelligence:Example: (article) On BattleIntelligence:J Phys C: (redirect) |
| BattleIntelligence talk | On BattleIntelligence talk:Example: (article) On BattleIntelligence talk:J Phys C: (redirect) |