v50 Steam/Premium information for editors
  • v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
  • Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.

Difference between revisions of "MediaWiki:Editpage-head-copy-warn"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
m (test)
(fix check for DF2014 (lowercased))
 
(32 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#switch:{{lc:{{{1|{{NAMESPACE}}}}}}}|v0.31 talk|40d talk|23a talk=
+
{{#switch:{{lc:{{{1|{{SUBJECTSPACE}}}}}}}|df2014|v0.34|v0.31|40d|23a=
<div style="width:auto; background-color:#fcc; border:1px solid red; padding:1em;">
+
<div style="width:auto; background-color:#fcc; border:1px solid red; padding:2em;">
You are editing a talk page for an '''older version''' of Dwarf Fortress. Please make sure you intend to do this. {{#ifexist:{{df:current}}:{{PAGENAME}}| If you are here by mistake, use [[{{df:current}}:{{PAGENAME}}|the current talk page]] instead.}}</div>}}<!--
+
You are editing a page for an '''older version''' of Dwarf Fortress ("{{df:current}}" is the current version, not "{{SUBJECTSPACE}}"). Please make sure you intend to do this. {{#ifexist:{{df:current}}:{{PAGENAME}}| If you are here by mistake, see [[{{df:current}}:{{PAGENAME}}|the current page]] instead.}}</div>}}<!--
 
-->{{Edit notice}}<!--
 
-->{{Edit notice}}<!--
-->{{#ifeq:{{NAMESPACE}}|Masterwork|{{#ifeq:{{ucfirst:{{lc:{{PAGENAME}}}}}}|{{PAGENAME}}||{{#ifexist:{{FULLPAGENAME}}||
+
-->{{#if:{{NAMESPACE}}|{{#switch:{{lc:{{NAMESPACE}}}}|user|user talk|mediawiki|mediawiki talk|category|category talk=|{{#ifeq:{{ucfirst:{{lc:{{PAGENAME}}}}}}|{{PAGENAME}}||{{#ifexist:{{FULLPAGENAME}}||{{#ifeq:{{PAGENAME}}|{{BASEPAGENAME}}|
test
+
{{ambox|type=xred|text=
}}}}}}
+
'''{{tc|red|You are creating a page with capitalization that does not comply with {{Rule|N}}}}. In nearly all cases, only the ''first'' letter should be capitalized in page titles. '''[{{fullurl:{{lc:{{FULLPAGENAME}}}}|action=edit}} Click here] to create "{{NAMESPACE}}:{{ucfirst:{{lc:{{PAGENAME}}}}}}" instead.
 +
}}
 +
}}}}}}}}}}<!--
 +
-->{{#ifexist:{{FULLPAGENAME}}|{{#ifeq:{{NAMESPACE}}||If you are creating a redirect to the current version's page, do not use any namespace. For example: use <nowiki>#REDIRECT [[Cat]]</nowiki>, not <nowiki>#REDIRECT [[Main:Cat]]</nowiki> or <nowiki>#REDIRECT [[cv:Cat]]</nowiki>. See [[DF:Versions]] for more information.
 +
}}}}

Latest revision as of 18:52, 15 February 2023

Sample

Notice  · About