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:Dual image"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(layout change. It should look just like regular thumb image)
 
Line 1: Line 1:
 
<includeonly><!--
 
<includeonly><!--
  
--><div class="mw-collapsible" id="mw-customcollapsible-classicimage"><!--
+
--><div class="thumb tright"><!--
   -->[[{{{1|{{{premium}}}}}}|{{{width|200px}}}|thumb|<span class="mw-customtoggle-classicimage mw-ui-button mw-ui-progressive">Toggle</span><br>{{{caption|}}}]]<!--
+
   --><div class="thumbinner" style="width:{{{width|202px}}};><!--
--></div><!--
 
  
--><div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-classicimage"><!--
+
    --><div class="mw-collapsible" id="mw-customcollapsible-classicimage"><!--
  -->[[{{{2|{{{classic}}}}}}|{{{width|200px}}}|thumb|<span class="mw-customtoggle-classicimage mw-ui-button mw-ui-progressive">Toggle</span><br>{{{caption|}}}]]<!--
+
      -->[[{{{1|{{{premium}}}}}}|{{{width|200px}}}]]<!--
--></div></includeonly><noinclude>
+
    --></div><!--
 +
 
 +
    --><div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-classicimage"><!--
 +
      -->[[{{{2|{{{classic}}}}}}|{{{width|200px}}}]]<!--
 +
    --></div><!--
 +
 
 +
    --><div class="thumbcaption"><span class="mw-customtoggle-classicimage mw-ui-button mw-ui-progressive" <!--
 +
                                  -->style="float:right; padding:0px; user-select: none;">Toggle</span>{{{caption|}}}</div><!--
 +
--></div></div></includeonly><noinclude>
  
 
Template for creating an image with a premium and classic version.
 
Template for creating an image with a premium and classic version.
  
{{Dual image|
+
{{Dual image
premium=File:DFwiki5by53by3farm.png|
+
|premium=File:DFwiki5by53by3farm.png
classic=File:Quickstart_layout_3.png|
+
|classic=File:Quickstart_layout_3.png
width=100px|
+
|width=100px
caption=Caption
+
|caption=Caption
 
}}
 
}}
  

Latest revision as of 21:42, 2 January 2023


Template for creating an image with a premium and classic version.

DFwiki5by53by3farm.png
Quickstart layout 3.png
ToggleCaption

Usage[edit]

{{Dual image
|premium=File:premium.png
|classic=File:classic.png
}}

{{Dual image
|premium=File:premium.png
|classic=File:classic.png
|caption=My caption
|width=100px
}}