×
Create a new article
Write your page title here:
We currently have 3,065 articles on YumeWiki. Type your article name above or click on one of the titles below and start writing!



YumeWiki
3,065Articles

Template:VersionHistory: Difference between revisions

m (thankfully this typo didnt effect 2kki's page lol)
(reverted change to image format. it turns out the link part was breaking it. vh once again has no dependencies)
Line 11: Line 11:
   --><div style="border:4px solid #b2af9c;><!-- Open main box div
   --><div style="border:4px solid #b2af9c;><!-- Open main box div
       -->{{#if:{{{2|}}}<!-- Check for images
       -->{{#if:{{{2|}}}<!-- Check for images
       -->|{{#arraymaptemplate:{{{2}}}|VersionHistory/Images|,|}}<!-- Array for images and their annotations
       -->|<div id="mw-content" class="floatleft" style="padding:12px;padding-bottom:1px;margin-right:2%;font-size:1px;"><!-- Open image div
        -->{{#arraymap:{{{2}}}|,|?|[[File:{{#sub:?|0|{{#pos:?|(}}}}{{!}}left{{!}}border{{!}}370x370px{{!}}{{#if:{{#pos:?|(}}|link={{NAMESPACE}}:{{#replace:{{#sub:?|{{#expr:1 + {{#pos:?|(}}}}}}|)|}}}}]]|\n}}<!-- Array for images and their annotations
      --></div><!-- Close image div
       -->}}<!-- End image check
       -->}}<!-- End image check
-->|</div><!-- If patch, close div of border bottom from previous template use
-->|</div><!-- If patch, close div of border bottom from previous template use

Revision as of 15:07, 3 July 2024


use in a version history page like this

{{vh
|0.100a
|example.png (Example World), two.png (Another World)
|author1, author2
|1999/09/19}}
*text
*text
...

or for patches like this

{{vh
|2
|author1, author2
|1999/09/29}}
*text
*text
...

If there is normal page content below a usage of this template, put a couple </div> in there to stop the css from bleeding onto it

Template:VersionHistory/Images

Template:VersionHistory/Category