Template: InfoboxFound: Difference between revisions

From The Lost Media Wiki
Jump to: navigation, search
m (Reverted edits by Kobochat (talk) to last revision by Anton)
m (1 revision imported)
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
<onlyinclude>
<onlyinclude>
<div id="infobox" class="panel panel-success onload">
<div id="infobox" class="card p-0 alert-success shadow-sm mb-3 onload">
{{#if: {{{image|}}}  
<div class="card-img-top p-2">{{#if: {{{image|}}}  
   |
   |[[File:{{{image|}}}|class=img-fluid w-100]] {{#set: Infobox image=File:{{{image|}}}}}
<div class="panel-heading responsive">
   |[[File:No_image.png|class=img-fluid w-100]] {{#set: Infobox image=File:No_image.png}}
[[File:{{{image|}}}]] {{#set: Infobox image=File:{{{image|}}}}}
}}</div>
</div>
<div class="card-body bg-white" style="padding-top:1.5em;font-size:.9em"><!--
   |
 
<div class="panel-heading responsive">
-->{{#if: {{{imagecaption|}}}  
[[File:No_image.png]] {{#set: Infobox image=File:No_image.png}}
    |<p>[[Infobox image caption::{{{imagecaption|}}}]] </p>
</div>
  }}
}}
<div class="panel-body" style="padding-top:1.5em;font-size:.9em">
{{#if: {{{imagecaption|}}}  
  |
<p>[[Infobox image caption::{{{imagecaption|}}}]] </p>
}}
<p>Status: {{{status|''Unknown''}}}</p>
<p>Status: {{{status|''Unknown''}}}</p>
<p>Date found: {{{datefound|''Unknown''}}}</p>
<p>Date found: {{{datefound|''Unknown''}}}</p>

Latest revision as of 19:39, 18 April 2023

No image.png

Status: Unknown

Date found: Unknown

Found by: Unknown


Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
Visit Template:InfoboxFound/doc to edit this documentation. (How does this work?)

Description

Use this template to generate an infobox for use on Found media pages.

Syntax

{{InfoboxFound
|title=<center>Title</center>
|image=
|imagecaption=
|status=<span style="color:green;">'''Found'''</span>
|datefound=
|foundby=
}}

The fields are described as it follows: title is the title of the piece of media (displayed on the top), image is the image file to be used, imagecaption is a short description of the image immediately above, status is the status of the media (always Found), datefound is the date of finding of the piece of media, and foundby is the name of the individual who found it.

While image and imagecaption may be safely ommited, the remaining fields will be filled with Unknown if ommited.

See also