Created page with "PAGE: Template:Being URL: https://supernatural-lore.com/mw14/index.php/Template:Being This template defines the Cargo table schema for Being entries and controls how each being page is displayed (infobox + content layout). --- <noinclude> This template is used for entries in the '''Being''' namespace. It stores structured data in a Cargo table and displays an infobox. To create a new being, use the Being form. {{#cargo_declare:_table=Beings |Type=Stri..." |
No edit summary |
||
| Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
This template is used for entries in the ''' | This template is used for entries in the '''Occurrence''' namespace. It stores structured data in a Cargo table and displays an infobox. | ||
To create a new | To create a new occurrence, use the [[Form:Occurrence|Occurrence form]]. | ||
{{#cargo_declare:_table= | {{#cargo_declare:_table=Occurrences | ||
|Type=String | |Type=String | ||
| | |Location=String | ||
|Date=String | |||
|Description=Wikitext | |Description=Wikitext | ||
| | |Witnesses=String | ||
| | |Evidence=Wikitext | ||
| | |Status=String | ||
|Image=String | |Image=String | ||
}} | }} | ||
</noinclude><includeonly>{{#cargo_store:_table= | </noinclude><includeonly>{{#cargo_store:_table=Occurrences | ||
|Type={{{Type|}}} | |Type={{{Type|}}} | ||
| | |Location={{{Location|}}} | ||
|Date={{{Date|}}} | |||
|Description={{{Description|}}} | |Description={{{Description|}}} | ||
| | |Witnesses={{{Witnesses|}}} | ||
| | |Evidence={{{Evidence|}}} | ||
| | |Status={{{Status|}}} | ||
|Image={{{Image|}}} | |Image={{{Image|}}} | ||
}}<div class=" | }}<div class="occurrence-infobox" style="float: right; width: 300px; border: 2px solid #45360f; background-color: #e3dac3; padding: 15px; margin: 0 0 15px 15px; border-radius: 5px;"> | ||
{{#if: {{{Image|}}} | <div style="text-align: center; margin-bottom: 10px;">[[File:{{{Image}}}|280px]]</div> }} | {{#if: {{{Image|}}} | <div style="text-align: center; margin-bottom: 10px;">[[File:{{{Image}}}|280px]]</div> }} | ||
<div style="font-size: 18px; font-weight: bold; text-align: center; border-bottom: 1px solid #45360f; padding-bottom: 8px; margin-bottom: 8px;"> | <div style="font-size: 18px; font-weight: bold; text-align: center; border-bottom: 1px solid #45360f; padding-bottom: 8px; margin-bottom: 8px;">Occurrence Report</div> | ||
<div style="margin-bottom: 6px;"><b>Type:</b> {{{Type|}}}</div> | <div style="margin-bottom: 6px;"><b>Type:</b> {{{Type|}}}</div> | ||
<div style="margin-bottom: 6px;"><b> | <div style="margin-bottom: 6px;"><b>Location:</b> {{{Location|}}}</div> | ||
<div style="margin-bottom: 6px;"><b> | <div style="margin-bottom: 6px;"><b>Date:</b> {{{Date|}}}</div> | ||
<div style="margin-bottom: 6px;"><b>Witnesses:</b> {{{Witnesses|}}}</div> | |||
<div style="margin-bottom: 6px;"><b>Status:</b> {{{Status|}}}</div> | |||
</div> | </div> | ||
| Line 40: | Line 36: | ||
{{{Description|}}} | {{{Description|}}} | ||
== | == Evidence == | ||
{{{ | {{{Evidence|}}} | ||
[[Category: | [[Category:Occurrences]] | ||
</includeonly> | </includeonly> | ||
Revision as of 11:26, 11 August 2026
This template is used for entries in the Occurrence namespace. It stores structured data in a Cargo table and displays an infobox.
To create a new occurrence, use the Occurrence form.
This template defines the table "Occurrences". View table.
