Difference between revisions of "Template:Ephemeron"

From Highway 0, the Kentucky Route Zero wiki
Jump to navigation Jump to search
m
m
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<includeonly><div style="display: flex; flex-direction: row; align-items: top; margin-bottom: 1em;">
 
<includeonly><div style="display: flex; flex-direction: row; align-items: top; margin-bottom: 1em;">
 +
{{#if: {{{file2|}}}||<div style="display: block; width: calc((300px - {{#if: {{{size|}}}|{{{size}}}|150px}}) / 2);"></div>}}
 
<div style="display: block;">[[File:{{{file}}}|frameless|{{{size|150}}}px]]</div>
 
<div style="display: block;">[[File:{{{file}}}|frameless|{{{size|150}}}px]]</div>
 
{{#if: {{{file2|}}}|<div style="display: block;">[[File:{{{file2}}}|frameless|{{{size|150}}}px]]</div>|}}
 
{{#if: {{{file2|}}}|<div style="display: block;">[[File:{{{file2}}}|frameless|{{{size|150}}}px]]</div>|}}
 +
{{#if: {{{file2|}}}||<div style="display: block; width: calc((300px - {{#if: {{{size|}}}|{{{size}}}|150px}}) / 2);"></div>}}
 
<div style="display: flex; flex-direction: column; margin-left: 1em;">
 
<div style="display: flex; flex-direction: column; margin-left: 1em;">
 
<div style="display: block;">
 
<div style="display: block;">
 
<span style="font-size: 1.25em;">'''{{{name}}}'''</span>
 
<span style="font-size: 1.25em;">'''{{{name}}}'''</span>
 
<br />
 
<br />
{{#if: {{{desc|}}}|<div style="display: block;">''{{{desc}}}''</div>|}}
+
{{#if: {{{desc|}}}|<div style="display: block;">''({{{desc}}})''</div>|}}
 
</div>
 
</div>
 
</div>
 
</div>
Line 15: Line 17:
 
| file = Ephemeron D20.png
 
| file = Ephemeron D20.png
 
| name = Twenty-sided die
 
| name = Twenty-sided die
| desc = Choose to keep the D20 in the basement of [[Equus Oils]].
+
| desc = Conway keeps the D20 in the basement of Equus Oils.
 
}}
 
}}
  
Line 21: Line 23:
  
 
  <nowiki>
 
  <nowiki>
{{Achievement
+
{{Ephemeron
| file   = (required) Ephemeron Tourism pamphlet 1.png
+
| file = (required) Ephemeron Tourism pamphlet 1.png
| file2 = (optional) Ephemeron Tourism pamphlet 2.png
+
| file2 = (optional) Ephemeron Tourism pamphlet 2.png
| name   = (required) Bureau of Secret Tourism pamphlet
+
| name = (required) Bureau of Secret Tourism pamphlet
| desc   = (optional) Direct Conway to pick up the pamphlet on the ground floor of the Bureau of Reclaimed Spaces.
+
| desc = (optional) Conway picks the pamphlet on the ground floor of the Bureau of Reclaimed Spaces.
 +
| size  = (optional) 150px [default width - can't be used with file2]
 
}}</nowiki>
 
}}</nowiki>
  
 
[[Category:Templates]]
 
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 12:21, 16 January 2020

Example[edit]

Ephemeron D20.png

Twenty-sided die

(Conway keeps the D20 in the basement of Equus Oils.)

Usage[edit]

{{Ephemeron
| file  = (required) Ephemeron Tourism pamphlet 1.png
| file2 = (optional) Ephemeron Tourism pamphlet 2.png
| name  = (required) Bureau of Secret Tourism pamphlet
| desc  = (optional) Conway picks the pamphlet on the ground floor of the Bureau of Reclaimed Spaces.
| size  = (optional) 150px [default width - can't be used with file2]
}}