Template:Treaty: Difference between revisions
Template page
More actions
No edit summary |
No edit summary |
||
| Line 2: | Line 2: | ||
<title source="name"><default>{{PAGENAME}}</default></title> | <title source="name"><default>{{PAGENAME}}</default></title> | ||
<image source="image" /> | <image source="image" /> | ||
<group> | <group> | ||
<header>General Information</header> | <header>General Information</header> | ||
| Line 7: | Line 8: | ||
<data source="conc"><label>Concurrent</label></data> | <data source="conc"><label>Concurrent</label></data> | ||
<data source="next"><label>Next</label></data> | <data source="next"><label>Next</label></data> | ||
<header>Treaty Information</header> | <header>Treaty Information</header> | ||
<data source="type"><label>Treaty Type</label></data> | <data source="type"><label>Treaty Type</label></data> | ||
| Line 16: | Line 18: | ||
<data source="status"><label>Status</label></data> | <data source="status"><label>Status</label></data> | ||
</group> | </group> | ||
<group layout="horizontal"> | <group layout="horizontal"> | ||
<header>Parties</header> | <header>Parties</header> | ||
<data source="partya" /> | <data source="partya"><label>Party A</label></data> | ||
<data source="partyb" /> | <data source="partyb"><label>Party B</label></data> | ||
</group> | </group> | ||
</infobox> | </infobox> | ||
<noinclude> | <noinclude> | ||
<templatedata> | |||
{ | |||
"description": "Infobox for treaties, agreements, and diplomatic accords.", | |||
"params": { | |||
"name": { | |||
"label": "Name", | |||
"description": "Name of the treaty (defaults to page name if omitted).", | |||
"type": "string" | |||
}, | |||
"image": { | |||
"label": "Image", | |||
"description": "Representative image (file name without File:).", | |||
"type": "wiki-file-name" | |||
}, | |||
"prev": { | |||
"label": "Previous", | |||
"description": "Previous related treaty or agreement.", | |||
"type": "string" | |||
}, | |||
"conc": { | |||
"label": "Concurrent", | |||
"description": "Concurrent treaties or events.", | |||
"type": "string" | |||
}, | |||
"next": { | |||
"label": "Next", | |||
"description": "Subsequent related treaty or agreement.", | |||
"type": "string" | |||
}, | |||
"type": { | |||
"label": "Treaty type", | |||
"description": "Type of treaty (e.g., peace treaty, alliance, trade agreement).", | |||
"type": "string" | |||
}, | |||
"cause": { | |||
"label": "Cause", | |||
"description": "Events or reasons leading to the treaty.", | |||
"type": "string" | |||
}, | |||
"date": { | |||
"label": "Date", | |||
"description": "Date the treaty was signed.", | |||
"type": "string" | |||
}, | |||
"place": { | |||
"label": "Location", | |||
"description": "Where the treaty was signed.", | |||
"type": "string" | |||
}, | |||
"signed": { | |||
"label": "Effective", | |||
"description": "Date the treaty came into effect.", | |||
"type": "string" | |||
}, | |||
"condition": { | |||
"label": "Condition", | |||
"description": "Key terms or conditions of the treaty.", | |||
"type": "string" | |||
}, | |||
"status": { | |||
"label": "Status", | |||
"description": "Current status (active, expired, broken, etc.).", | |||
"type": "string" | |||
}, | |||
"partya": { | |||
"label": "Party A", | |||
"description": "First party involved.", | |||
"type": "string" | |||
}, | |||
"partyb": { | |||
"label": "Party B", | |||
"description": "Second party involved.", | |||
"type": "string" | |||
} | |||
}, | |||
"paramOrder": [ | |||
"name", | |||
"image", | |||
"prev", | |||
"conc", | |||
"next", | |||
"type", | |||
"cause", | |||
"date", | |||
"place", | |||
"signed", | |||
"condition", | |||
"status", | |||
"partya", | |||
"partyb" | |||
] | |||
} | |||
</templatedata> | |||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> | ||
Latest revision as of 02:44, 2 May 2026
Infobox for treaties, agreements, and diplomatic accords.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name | name | Name of the treaty (defaults to page name if omitted). | String | optional |
| Image | image | Representative image (file name without File:). | File | optional |
| Previous | prev | Previous related treaty or agreement. | String | optional |
| Concurrent | conc | Concurrent treaties or events. | String | optional |
| Next | next | Subsequent related treaty or agreement. | String | optional |
| Treaty type | type | Type of treaty (e.g., peace treaty, alliance, trade agreement). | String | optional |
| Cause | cause | Events or reasons leading to the treaty. | String | optional |
| Date | date | Date the treaty was signed. | String | optional |
| Location | place | Where the treaty was signed. | String | optional |
| Effective | signed | Date the treaty came into effect. | String | optional |
| Condition | condition | Key terms or conditions of the treaty. | String | optional |
| Status | status | Current status (active, expired, broken, etc.). | String | optional |
| Party A | partya | First party involved. | String | optional |
| Party B | partyb | Second party involved. | String | optional |
Template documentation
|
|---|
| Note: portions of the template sample may not be visible without values provided. |
| View or edit this documentation. (About template documentation) |
| Editors can experiment in this template's sandbox and test case pages. |