Even for a low-activity wiki, hosting & rendering many HQ image files takes significant resources and comes with high monthly server costs.
If you're able, please consider contributing to keep the site running to help support this independent, ad-free, fan-run site. Thank you!
Template:Ephemeron: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| 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( | {{#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( | {{#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;"> | ||
Revision as of 12:20, 16 January 2020
Example
Usage
{{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]
}}