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 (Protected "Template:Edit notice": Potentially high-risk: Appears in MediaWiki:Editpage-head-copy-warn (‎[edit=autoconfirmed] (indefinite) ‎[move=autoconfirmed] (indefinite)))
(update)
Line 1: Line 1:
{{#ifexist:{{FULLPAGENAME}}/Edit notice|<div class="df-edit-notice" style="width:auto; background-color:#ffd; border:1px solid #f60; padding:1em;">{{{{FULLPAGENAME}}/Edit notice}}
+
{{#ifexist:{{FULLPAGENAME}}/Edit notice|{{Edit notice/0|{{{{FULLPAGENAME}}/Edit notice}}}}}}<noinclude>{{documentation}}</noinclude>
<div style="font-size:70%; float:right;">[[Template:Edit notice|Help]]</div></div>}}<noinclude>{{documentation}}</noinclude>
+
{{#ifeq:{{#rreplace:{{FULLPAGENAME}}|[\s\S]*\/([^/]+)$|$1}}|Edit notice|{{Edit notice/0|'''Warning:''' this message will appear for all editors when editing "{{NAMESPACE}}{{#if:{{NAMESPACE}}|:}}{{BASEPAGENAME}}". Please keep this in mind when creating or modifying this page.}}}}

Revision as of 21:22, 11 September 2013