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 "Template:Edit notice"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
m (fix layout)
(Support 'root' edit notices)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{#ifexist:{{FULLPAGENAME}}/Edit notice|{{Edit notice/0|{{{{FULLPAGENAME}}/Edit notice}}}}}}<noinclude>{{documentation}}</noinclude>
+
{{#ifexist:{{FULLPAGENAME}}/Edit notice|{{Edit notice/0|{{:{{FULLPAGENAME}}/Edit notice}}}}}}{{#ifexist:{{FULLROOTPAGENAME}}/Root edit notice|{{Edit notice/0|{{:{{FULLROOTPAGENAME}}/Root edit notice}}}}}}<noinclude>{{documentation}}</noinclude>
 
{{#ifeq:{{#rreplace:{{FULLPAGENAME}}|[\s\S]*\/([^/]+)$|$1}}|Edit notice|{{Edit notice/0|'''Warning:''' this message will appear for all editors when editing "{{#tag:nowiki|{{#if:{{NAMESPACE}}|{{NAMESPACE}}:}}{{BASEPAGENAME}}}}". Please keep this in mind when creating or modifying this page.}}}}
 
{{#ifeq:{{#rreplace:{{FULLPAGENAME}}|[\s\S]*\/([^/]+)$|$1}}|Edit notice|{{Edit notice/0|'''Warning:''' this message will appear for all editors when editing "{{#tag:nowiki|{{#if:{{NAMESPACE}}|{{NAMESPACE}}:}}{{BASEPAGENAME}}}}". Please keep this in mind when creating or modifying this page.}}}}

Latest revision as of 22:04, 1 September 2014