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:Mwv"
Jump to navigation
Jump to search
(test update) |
m (ok, undo) |
||
Line 1: | Line 1: | ||
<table id="avtable" style="text-align: center; margin: 0 auto; padding: 0px; {{#if:{{#var:enone}}|padding-top:1em;}} {{border radius|3px}}; border: 2px solid #b8f; color:#85c; border-top:none; background: #f5e5ff; min-width:27em"><tr><td style="padding: 0px; width: 100%;"> | <table id="avtable" style="text-align: center; margin: 0 auto; padding: 0px; {{#if:{{#var:enone}}|padding-top:1em;}} {{border radius|3px}}; border: 2px solid #b8f; color:#85c; border-top:none; background: #f5e5ff; min-width:27em"><tr><td style="padding: 0px; width: 100%;"> | ||
− | {{#vardefine:mwv-page|{{#rsplit:{{FULLPAGENAME}}|\/|0}}}}<p style="margin:0.2em">'''MDF:''' {{#rreplace:{{#rreplace:[[{{#var:mwv-page}}|{{DF:Current/mw}}]]DOT{{#rreplace:{{#rreplace:{{#rreplace:{{comment|<!--Place new versions after the }} here, using {{subst:mwv/new|vVERSIONx}} (unused/omitted intentionally: v4). USE THE PREVIOUS VERSION IF MDF IS UPDATED - THE CURRENT VERSION IS INCLUDED AUTOMATICALLY.--> | + | {{#vardefine:mwv-page|{{#rsplit:{{FULLPAGENAME}}|\/|0}}}}<p style="margin:0.2em">'''MDF:''' {{#rreplace:{{#rreplace:[[{{#var:mwv-page}}|{{DF:Current/mw}}]]DOT{{#rreplace:{{#rreplace:{{#rreplace:{{comment|<!--Place new versions after the }} here, using {{subst:mwv/new|vVERSIONx}} (unused/omitted intentionally: v4). USE THE PREVIOUS VERSION IF MDF IS UPDATED - THE CURRENT VERSION IS INCLUDED AUTOMATICALLY.-->}}{{#ifexist:{{#var:mwv-page}}/v3i|v3i,}}{{#ifexist:{{#var:mwv-page}}/v3h|v3h,}}{{#ifexist:{{#var:mwv-page}}/v3g|v3g,}}{{#ifexist:{{#var:mwv-page}}/v3f|v3f,}}{{#ifexist:{{#var:mwv-page}}/v3e|v3e,}}{{#ifexist:{{#var:mwv-page}}/v3d|v3d,}}{{#ifexist:{{#var:mwv-page}}/v3c|v3c,}}{{#ifexist:{{#var:mwv-page}}/v3b|v3b,}}{{#ifexist:{{#var:mwv-page}}/v3a|v3a,}},,|,{2,}|}}|([^,]+)|[[{{#var:mwv-page}}/$1|$1]]DOT}}|,|}}|DOT$|}}|DOT|{{dot}} }}</p></td></tr></table><noinclude>{{documentation}}</noinclude> |
Revision as of 20:06, 1 October 2013
MDF: v1.31 |
(view - edit - history - purge) Documentation
Masterwork version
Useful for cases when a Masterwork page changes drastically between versions (e.g. Masterwork:Cat).
This is automatically included by {{av}} on all Masterwork pages. To add it on others, place it directly after {{av}} (no blank lines in between).