Template:Infobox treaty: Difference between revisions
From MicrasWiki
Jump to navigationJump to search
m (Edgard moved page Infobox treaty to Template:Infobox treaty) |
No edit summary |
||
Line 2: | Line 2: | ||
<div class="infobox" style="border: 1px solid #aaaaaa; background-color: #f9f9f9; width: 300px; padding: 10px; font-size: 90%;"> | <div class="infobox" style="border: 1px solid #aaaaaa; background-color: #f9f9f9; width: 300px; padding: 10px; font-size: 90%;"> | ||
<div style="font-size: 125%; font-weight: bold; text-align: center;">{{{name|{{PAGENAME}}}}}</div> | <div style="font-size: 125%; font-weight: bold; text-align: center;">{{{name|{{PAGENAME}}}}}</div> | ||
<div style="text-align: center; margin: 5px; padding: 5px; border-bottom: 1px solid #aaaaaa;">[[File:{{{image | {{#if: {{{image|}}}| | ||
<div style="text-align: center; margin: 5px; padding: 5px; border-bottom: 1px solid #aaaaaa;"> | |||
[[File:{{{image}}}|center|200px|border|alt={{{imagealt|}}}|{{{caption|}}}]] | |||
</div> | |||
}} | |||
{| class="wikitable" style="width: 100%;" | {| class="wikitable" style="width: 100%;" | ||
! style="background-color: #ccccff; width: 30%;" | Type | ! style="background-color: #ccccff; width: 30%;" | Type | ||
Line 27: | Line 31: | ||
<div style="text-align: center; margin-top: 5px;">[{{{fulltextlink|}}} Full text]</div> | <div style="text-align: center; margin-top: 5px;">[{{{fulltextlink|}}} Full text]</div> | ||
</div> | </div> | ||
[[Category:Treaties]] | |||
[[Category:Diplomacy]] | |||
</includeonly> | </includeonly> | ||
<noinclude> | <noinclude> |
Revision as of 01:27, 19 April 2024
This template is designed to create an infobox for treaties and agreements within the world of Micras. It is flexible and can accommodate various types of legal documents between multiple entities.
Usage
{{Infobox treaty | name = Name of the treaty or agreement | image = Filename of the image (e.g., Treaty.png) | alt = Alternative text for the image | caption = Caption for the image | type = Type of document (e.g., Peace treaty, Trade agreement) | date_signed = Date when the treaty was signed | location = Location where the treaty was signed | date_effective= Date when the treaty comes into effect | parties = Parties involved in the treaty | language = Languages in which the treaty was written | purpose = Brief description of the treaty's purpose | fulltextlink = URL to the full text of the treaty }}
Example
Editors can experiment in this template's sandbox (create) and testcases (create) pages. Subpages of this template. |