Template: LMW: Difference between revisions
From The Lost Media Wiki
(Created page with "<onlyinclude> <div id="infobox" class="panel panel-success onload"><!-- -->{{#set: Has title={{{title|}}} }}<!-- -->{{#set: Has description={{{description|}}} }}<!-- -->{{#if...") |
m (Some really minor edits to this template: added the color used by the "Lost" status (red, as opposed to the default gray), and removed "Partially Found" from the status switch as the date/found by fields are only meant for the "Found" status.) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 46: | Line 46: | ||
<p>[[Infobox image caption::{{{imagecaption|}}}]] </p> | <p>[[Infobox image caption::{{{imagecaption|}}}]] </p> | ||
}} | }} | ||
<p>Status: [[Has status::{{{status|Unknown}}}]]</p> | <p>Status: <span style="font-weight:bold;color: {{#switch: {{{status|}}} | ||
|Lost = red | |||
|Found = forestgreen | |||
|Partially lost | |||
|Partially found = orange | |||
|#default = grey | |||
}}">[[Has status::{{{status|Unknown}}}]]</span></p> | |||
{{#if: {{{comment|}}} | {{#if: {{{comment|}}} | ||
| | | | ||
Line 52: | Line 58: | ||
}} | }} | ||
{{#switch: {{{status|}}} | {{#switch: {{{status|}}} | ||
|Found | |Found = | ||
<p>Date found: {{#if: {{{datefound|}}} | <p>Date found: {{#if: {{{datefound|}}} | ||
|{{#time: j M 'y|{{{datefound|}}} }} | |{{#time: j M 'y|{{{datefound|}}} }} |
Latest revision as of 23:33, 6 January 2019
Template documentation follows |
---|
Note: the template above may sometimes be partially or fully invisible. |
Visit Template:LMW/doc to edit this documentation. (How does this work?) |
Docs go here