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



YumeWiki
2,883Articles

Template:VersionHistory: Difference between revisions

(bring back dependency on Images subpage, it allows for more consistent mobile support)
(support empty author field (for solo games?))
Line 22: Line 22:
   -->|{{#tag:nowiki|Patch {{{1|}}} / }}<!-- If patch, prepend text using the patch number
   -->|{{#tag:nowiki|Patch {{{1|}}} / }}<!-- If patch, prepend text using the patch number
   -->}}<!-- End version check
   -->}}<!-- End version check
-->Contributing Authors:</b> <!-- Space here
  -->{{#if:{{{3|}}}<!-- Only place authors list if one is specified
  -->{{#arraymap:<!-- Array categories
  -->|Contributing Authors:</b> <!-- Space here
      -->{{#if:{{{4|}}}<!-- Check if version
      -->{{#arraymap:<!-- Array categories
      -->|{{{3}}}<!-- Versions have author as third field
        -->{{#if:{{{4|}}}<!-- Check if version
      -->|{{{2}}}<!-- Patches have author as second field
        -->|{{{3}}}<!-- Versions have author as third field
      -->}}<!-- End version check
        -->|{{{2}}}<!-- Patches have author as second field
  -->|,|#|[[:Category:#|#]]|,&#32;}}<!-- End array usage
        -->}}<!-- End version check
--><br><!-- Separate author list and date with newline
      -->|,|#|[[:Category:#|#]]|,&#32;}}<!-- End array usage
  --><br><!-- Separate author list and date with newline
  -->}}<!-- End author check
-->'''Release Date:''' {{{4|{{{3|}}}}}}<!--
-->'''Release Date:''' {{{4|{{{3|}}}}}}<!--
--></div><!-- Close div of author and date info
--></div><!-- Close div of author and date info

Revision as of 14:03, 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