Difference between revisions of "User:Anonymous ONI agent/Sandbox"
Line 471: | Line 471: | ||
}} | }} | ||
|- class="infoboxrow" style="border:2px solid #333;" | |- class="infoboxrow" style="border:2px solid #333;" | ||
− | {{#if:{{{ | + | {{#if:{{{universestartyear|}}}| |
{{!}} Universe date | {{!}} Universe date | ||
− | {{!}} {{#if:{{{ | + | {{!}} {{#if:{{{universestartday|}}}|{{{universestartday}}} }}{{#if:{{{universestartmonth|}}}|{{{universestartmonth}}} }}{{#ifexist:{{{universestartyear|}}}|[[{{{universestartyear}}}]]|{{{universestartyear}}}}} |
}} | }} | ||
|- class="infoboxrow" style="border:2px solid #333;" | |- class="infoboxrow" style="border:2px solid #333;" | ||
Line 479: | Line 479: | ||
{{#if:{{{endyear|}}}| | {{#if:{{{endyear|}}}| | ||
{{!}} Timeline | {{!}} Timeline | ||
− | {{!}} {{#ifexist:{{{ | + | {{!}} {{#ifexist:{{{universestartyear|}}}|[[{{{universestartyear}}}]]|{{{universestartyear}}}}} – {{#ifexist:{{{universeendyear|}}}|[[{{{universeendyear}}}]]|{{{universeendyear}}}}} |
}} | }} | ||
}} | }} | ||
Line 507: | Line 507: | ||
{{#if:{{{productioncode|}}}|<span style="display:none; font-size: 0px;">[[Product Code::{{{productioncode}}}]]</span>}} | {{#if:{{{productioncode|}}}|<span style="display:none; font-size: 0px;">[[Product Code::{{{productioncode}}}]]</span>}} | ||
{{#if:{{{published|}}}|<span style="display:none; font-size: 0px;">[[Published::{{{published}}}]]</span>}} | {{#if:{{{published|}}}|<span style="display:none; font-size: 0px;">[[Published::{{{published}}}]]</span>}} | ||
− | {{#if:{{{ | + | {{#if:{{{universestartyear|}}}|<span style="display:none; font-size: 0px;">[[Publisher::{{#if:{{{universestartday|}}}|{{{universestartday}}} }}{{#if:{{{universestartmonth|}}}|{{{universestartmonth}}} }}{{{universestartyear}}}]]</span>}} |
− | {{#if:{{{ | + | {{#if:{{{universestartyear|}}}|<span style="display:none; font-size: 0px;">[[Start date::{{{universestartyear}}}]]</span>}} |
− | {{#if:{{{ | + | {{#if:{{{universeendyear|}}}|<span style="display:none; font-size: 0px;">[[End date::{{{universeendyear}}}]]</span>}} |
{{#if:{{{series|}}}|<span style="display:none; font-size: 0px;">[[Series::{{{series}}}]]</span>}} | {{#if:{{{series|}}}|<span style="display:none; font-size: 0px;">[[Series::{{{series}}}]]</span>}} | ||
{{#if:{{{precededby|}}}|<span style="display:none; font-size: 0px;">[[Preceded by::{{{precededby}}}{{#if:{{{precededdisambig|}}}|({{{precededdisambig}}})}}]]</span>}} | {{#if:{{{precededby|}}}|<span style="display:none; font-size: 0px;">[[Preceded by::{{{precededby}}}{{#if:{{{precededdisambig|}}}|({{{precededdisambig}}})}}]]</span>}} | ||
Line 542: | Line 542: | ||
| era = | | era = | ||
| agency = | | agency = | ||
− | | | + | | universestartday = |
− | | | + | | universestartmonth = |
− | | | + | | universestartyear = |
− | | | + | | universeendyear = |
− | |||
| series = | | series = | ||
| precededby = | | precededby = | ||
Line 556: | Line 555: | ||
== Explanation == | == Explanation == | ||
− | + | <templatedata> | |
− | + | { | |
− | + | "description": "Infobox for BattleTech media products, such as rulebooks, novels, or even video games.", | |
− | + | "format": "inline", | |
− | + | "params": { | |
− | + | "image": { | |
− | + | "description": "Cover art image filename", | |
− | + | "type": "string" | |
− | + | }, | |
− | + | "name": { | |
− | + | "description": "Title of the product", | |
− | + | "type": "string", | |
− | + | "autovalue": "{{PAGENAME}}" | |
− | + | }, | |
− | + | "type": { | |
− | + | "label": "Type", | |
− | + | "description": "Type of media", | |
− | + | "type": "string", | |
− | + | "example": "Novel", | |
− | + | "required": true | |
− | + | }, | |
− | + | "author": { | |
− | + | "label": "Author", | |
− | + | "description": "Name of the author, if there is only one. Do not use links.", | |
− | + | "type": "string" | |
− | + | }, | |
− | + | "multiauthor": { | |
− | + | "label": "Authors", | |
− | + | "description": "Names of the authors, if there are multiple. Use line breaks (<br/>) between names. Links can (and should) be used.", | |
− | + | "type": "content", | |
+ | "example": "[[J. R. R. Tolkien]]<br/>[[Mark Twain]]<br/>[[Leo Tolstoy]]" | ||
+ | }, | ||
+ | "development": { | ||
+ | "label": "Development", | ||
+ | "description": "Name[s] of the developer[s] of a game or rulebook. Use instead of author/multiauthor where applicable. Links can (and should) be used.", | ||
+ | "type": "content" | ||
+ | }, | ||
+ | "primarywriting": { | ||
+ | "label": "Primary writing", | ||
+ | "description": "Use instead of the previous three fields where applicable. Links can (and should) be used.", | ||
+ | "type": "content" | ||
+ | }, | ||
+ | "pages": { | ||
+ | "label": "Page count", | ||
+ | "description": "Number of pages, for a novel, rulebook, or other written work. Use numbers only.", | ||
+ | "type": "number" | ||
+ | }, | ||
+ | "cover": { | ||
+ | "label": "Cover artwork", | ||
+ | "description": "Name of the cover artist. Do not use links.", | ||
+ | "type": "string" | ||
+ | }, | ||
+ | "interiorart": { | ||
+ | "label": "Interior artwork", | ||
+ | "description": "Name[s] of the artist[s] responsible for the interior artwork, if applicable. For multiple names, separate them with line breaks (<br/>). Links can (and should) be used.", | ||
+ | "type": "content" | ||
+ | }, | ||
+ | "illustrations": { | ||
+ | "label": "Illustrations", | ||
+ | "description": "Name[s] of the illustrator[s], if applicable. For multiple names, separate them with line breaks (<br/>). Links can (and should) be used.", | ||
+ | "type": "content" | ||
+ | }, | ||
+ | "publisher": { | ||
+ | "label": "Publisher", | ||
+ | "description": "Name of the original publishing company. Do not use links.", | ||
+ | "type": "string", | ||
+ | "required": true | ||
+ | }, | ||
+ | "productioncode": { | ||
+ | "label": "Product code", | ||
+ | "description": "Product code assigned by the publisher", | ||
+ | "type": "string" | ||
+ | }, | ||
+ | "productpageurl": { | ||
+ | "description": "Active URL of the product's webpage on the publisher's website, if one exists.", | ||
+ | "type": "url" | ||
+ | }, | ||
+ | "published": { | ||
+ | "label": "First published", | ||
+ | "description": "Date the product was originally published", | ||
+ | "type": "date", | ||
+ | "required": true | ||
+ | }, | ||
+ | "ISBN10": { | ||
+ | "label": "ISBN-10", | ||
+ | "description": "The ISBN-10 number of the product", | ||
+ | "type": "string" | ||
+ | }, | ||
+ | "ISBN13": { | ||
+ | "label": "ISBN-13", | ||
+ | "description": "The ISBN-13 number of the product", | ||
+ | "type": "string" | ||
+ | }, | ||
+ | "MSRP": { | ||
+ | "label": "MSRP", | ||
+ | "description": "Manufacturer's suggested retail price for the product, as of its original release. Prices should be given in the currency of the product's country of origin (usually USD).", | ||
+ | "type": "string" | ||
+ | }, | ||
+ | "content": { | ||
+ | "label": "Content", | ||
+ | "description": "Description of products that are not books", | ||
+ | "type": "content" | ||
+ | }, | ||
+ | "era": { | ||
+ | "label": "Era", | ||
+ | "description": "Name of the era in BattleTech in which the product's fiction is primarily set. Do not use links.", | ||
+ | "type": "string" | ||
+ | }, | ||
+ | "agency": { | ||
+ | "label": "Agency", | ||
+ | "description": "Name of the agency which published the content in-universe, if applicable.", | ||
+ | "type": "content" | ||
+ | }, | ||
+ | "universestartday": { | ||
+ | "description": "Number of the numerical day of the month of the earliest point in the BattleTech fiction described in the main events of the work.", | ||
+ | "type": "number" | ||
+ | }, | ||
+ | "universestartmonth": { | ||
+ | "description": "Name of the month of the earliest point in the BattleTech fiction described in the main events of the work.", | ||
+ | "type": "string" | ||
+ | }, | ||
+ | "universestartyear": { | ||
+ | "description": "Year of the earliest point in the BattleTech fiction described in the main events of the work.", | ||
+ | "type": "date" | ||
+ | }, | ||
+ | "universeendyear": { | ||
+ | "description": "Year of the latest point in the BattleTech fiction described in the main events of the work.", | ||
+ | "type": "date" | ||
+ | }, | ||
+ | "series": { | ||
+ | "label": "Series", | ||
+ | "description": "Series that the work belongs to", | ||
+ | "type": "content" | ||
+ | }, | ||
+ | "precededby": { | ||
+ | "label": "Preceded by", | ||
+ | "description": "Preceding product, in the series or otherwise. Do not use links.", | ||
+ | "type": "string" | ||
+ | }, | ||
+ | "precededdisambig": { | ||
+ | "description": "If the article name for the preceding product uses a parenthesized appendix for disambiguation, add the contents of the parentheses here.", | ||
+ | "type": "string" | ||
+ | }, | ||
+ | "followedby": { | ||
+ | "label": "Followed by", | ||
+ | "description": "Following product, in the series or otherwise. Do not use links.", | ||
+ | "type": "string" | ||
+ | }, | ||
+ | "followeddisambig": { | ||
+ | "description": "If the article name for the following product uses a parenthesized appendix for disambiguation, add the contents of the parentheses here.", | ||
+ | "type": "string" | ||
+ | } | ||
+ | }, | ||
+ | "paramOrder": [ | ||
+ | "image", | ||
+ | "name", | ||
+ | "type", | ||
+ | "author", | ||
+ | "multiauthor", | ||
+ | "development", | ||
+ | "primarywriting", | ||
+ | "pages", | ||
+ | "cover", | ||
+ | "interiorart", | ||
+ | "illustrations", | ||
+ | "publisher", | ||
+ | "productioncode", | ||
+ | "productpageurl", | ||
+ | "published", | ||
+ | "ISBN10", | ||
+ | "ISBN13", | ||
+ | "MSRP", | ||
+ | "content", | ||
+ | "era", | ||
+ | "agency", | ||
+ | "universestartday", | ||
+ | "universestartmonth", | ||
+ | "universestartyear", | ||
+ | "universeendyear", | ||
+ | "series", | ||
+ | "precededby", | ||
+ | "precededdisambig", | ||
+ | "followedby", | ||
+ | "followeddisambig" | ||
+ | ] | ||
+ | } | ||
+ | </templatedata> | ||
</noinclude> | </noinclude> | ||
Revision as of 16:39, 9 March 2022
Contents
InfoBoxConflict
Anonymous ONI agent/Sandbox | |
---|---|
|
Usage
- This template is intended for wars only.
Copy and paste the following code into the top of the article, filling the appropriate fields. If a field is unknown or inapplicable, leave it blank.
{{InfoBoxConflict | conflict = | era = | image = | caption = | startday = | startmonth = | startyear = | endday = | endmonth = | endyear = | place = | planet = | result = | territory = | faction1 = (Attacker)<br/> | faction2 = (Defender)<br/> | faction3 = | commander1 = | commander2 = | commander3 = | forces1 = | forces2 = | forces3 = }}
Explanation
- conflict =
- Name of the conflict.
If blank, the article name is inserted. - era =
- The name of the era that contained the conflict in question; (e.g., Star League, Succession Wars, Clan Invasion, et cetera.)
- image =
- Image file link of a picture appropriate to the conflict. Most conflicts should have no image. See Policy:Images for guidance.
- caption =
- Description of the image file
- startday =
- Numbered day of the month in which the conflict started. Leave blank if unknown.
- startmonth =
- Month in which the conflict started. Leave blank if unknown.
- startyear =
- Year in which the conflict began.
- endday =
- Numbered day of the month in which the conflict ended. Leave blank if unknown.
- endmonth =
- Month in which the conflict ended. Leave blank if unknown.
- endyear =
- Year in which the conflict ended.
- place =
- ? Location containing the planet where the conflict took place ? The location on the planet where the conflict took place ?
- planet =
- Planet where the conflict took place, if it was confined to a single planet
- result =
- Summary of the outcome of the conflict
- territory =
- Territorial changes that took place as a result of the conflict
- faction1 =
- Name of a faction involved in the conflict. If one faction can clearly be identified as the "attacker", put it here.
- faction2 =
- Name of the opposing faction. If one faction can clearly be identified as the "defender", put it here.
- faction3 =
- Name of the third faction involved in a three-way conflict.
- commander1 =
- Name of the individual commanding faction1
- commander2 =
- As above, for faction2
- commander3 =
- As above, for faction3
- forces1 =
- Brief description of the units involved belonging to faction1
- forces2 =
- As above, for faction2
- forces3 =
- As above, for faction3
Example
World War II | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Part of the Pre-Spaceflight era | |||||||||||
|
|||||||||||
Factions | |||||||||||
Allied powers | Axis powers | ||||||||||
Commanders and leaders | |||||||||||
*Winston Churchill
|
*Adolf Hitler
|
||||||||||
Forces involved | |||||||||||
Main Allied powers:
Other Allied combatants:
|
Main Axis powers:
Other Axis Combatants:
|
{{InfoBoxConflict |conflict=World War II |era=Pre-Spaceflight |image= |caption= |startday=1 |startmonth=September |startyear=1939 |endday=2 |endmonth=September |endyear=1945 |place=Worldwide |planet=[[Terra]] |result=Allied victory *Fall of Nazi Germany, Fascist Italy, and Imperial Japan *Allied military occupations of Germany, Japan, Austria, and Korea *Dissolution of the League of Nations and creation of the United Nations *Emergence of the United States and the Soviet Union as rival superpowers and beginning of the Cold War |territory= |faction1=Allied powers |faction=Axis powers |faction3= |commander1={{Clear}}*Winston Churchill *Joseph Stalin *Franklin D. Roosevelt (until April 1945) *Harry S. Truman (from April 1945)</td> |commander2={{Clear}}*Adolf Hitler *Hirohito *Benito Mussolini |commander3= |forces1='''Main Allied powers:''' *United Kingdom *Union of Soviet Socialist Republics (from June 1941) *United States of America (from December 1941) '''Other Allied combatants:''' *British Raj *Canada *Commonwealth of Australia *Czechoslovak government-in-exile *Dominion of New Zealand *Ethopian government-in-exile (until January 1941) *Republic of China *Republic of France (until June 1940, resumed August 1944) *Republic of Poland (until October 1939) *Union of South Africa *Polish government-in-exile (from October 1939) *Luxembourgish government-in-exile (from May 1940) *Netherlands (from May 1940 until June 1940) *Dutch government-in-exile (from June 1940) *Free France (from June 1940 until August 1944) *Norwegian government-in-exile (from June 1940) *Belgian government-in-exile (from October 1940) *Yugoslav government-in-exile (from April 1941) *Greek government-in-exile (from May 1941) *Dominican Republic (from December 1941) *Republic of Cuba (from December 1941) *Filipino government-in-exile (from May 1942) *United Mexican States (from May 1942) *Republic of the United States of Brazil (from August 1942) *Ethiopian Empire (from December 1942) *Kingdom of Italy (from September 1943) *Kingdom of Romania (from August 1944) *Kingdom of Bulgaria (from September 1944) *Republic of Finland (from September 1944) |forces2='''Main Axis powers:''' *Nazi Germany (until May 1945) *Empire of Japan *Kingdom of Italy (until September 1943) *Italian Social Republic (from September 1943 until April 1945) '''Other Axis Combatants:''' *Kingdom of Romania (until August 1944) *Kingdom of Thailand *Kingdom of Hungary (from September 1940 until March 1945) *Slovak Republic (from November 1940 until May 1945) *Kingdom of Bulgaria (from March 1941 until September 1944) *Independent State of Croatia (from April 1941 until May 1945) *Republic of Finland (from June 1941 until September 1944) |forces3= }}
InfoBoxProduct
Anonymous ONI agent/Sandbox | |
---|---|
Product information | |
Publication information | |
First published | |
Content | |
Usage instructions
- Copy and paste the following code into the top of the article, filling the appropriate fields. If a field is unknown, leave it blank.
- For the image field, just the name of the image is sufficient. e.g., Example.jpg, Example.png, etc.
{{InfoBoxProduct | image = | name = | type = | author = | multiauthor = | development = | primarywriting = | pages = | cover = | interiorart = | illustrations = | publisher = | productioncode = | productpageurl = | yearpublished = | ISBN10 = | ISBN13 = | MSRP = | content = | era = | agency = | universestartday = | universestartmonth = | universestartyear = | universeendyear = | series = | precededby = | precededdisambig = | followedby = | followeddisambig = }}
Explanation
Infobox for BattleTech media products, such as rulebooks, novels, or even video games.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Image | image | Cover art image filename | String | optional |
Name | name | Title of the product
| String | optional |
Type | type | Type of media
| String | required |
Author | author | Name of the author, if there is only one. Do not use links. | String | optional |
Authors | multiauthor | Names of the authors, if there are multiple. Use line breaks (<br/>) between names. Links can (and should) be used.
| Content | optional |
Development | development | Name[s] of the developer[s] of a game or rulebook. Use instead of author/multiauthor where applicable. Links can (and should) be used. | Content | optional |
Primary writing | primarywriting | Use instead of the previous three fields where applicable. Links can (and should) be used. | Content | optional |
Page count | pages | Number of pages, for a novel, rulebook, or other written work. Use numbers only. | Number | optional |
Cover artwork | cover | Name of the cover artist. Do not use links. | String | optional |
Interior artwork | interiorart | Name[s] of the artist[s] responsible for the interior artwork, if applicable. For multiple names, separate them with line breaks (<br/>). Links can (and should) be used. | Content | optional |
Illustrations | illustrations | Name[s] of the illustrator[s], if applicable. For multiple names, separate them with line breaks (<br/>). Links can (and should) be used. | Content | optional |
Publisher | publisher | Name of the original publishing company. Do not use links. | String | required |
Product code | productioncode | Product code assigned by the publisher | String | optional |
Productpageurl | productpageurl | Active URL of the product's webpage on the publisher's website, if one exists. | URL | optional |
First published | published | Date the product was originally published | Date | required |
ISBN-10 | ISBN10 | The ISBN-10 number of the product | String | optional |
ISBN-13 | ISBN13 | The ISBN-13 number of the product | String | optional |
MSRP | MSRP | Manufacturer's suggested retail price for the product, as of its original release. Prices should be given in the currency of the product's country of origin (usually USD). | String | optional |
Content | content | Description of products that are not books | Content | optional |
Era | era | Name of the era in BattleTech in which the product's fiction is primarily set. Do not use links. | String | optional |
Agency | agency | Name of the agency which published the content in-universe, if applicable. | Content | optional |
Universestartday | universestartday | Number of the numerical day of the month of the earliest point in the BattleTech fiction described in the main events of the work. | Number | optional |
Universestartmonth | universestartmonth | Name of the month of the earliest point in the BattleTech fiction described in the main events of the work. | String | optional |
Universestartyear | universestartyear | Year of the earliest point in the BattleTech fiction described in the main events of the work. | Date | optional |
Universeendyear | universeendyear | Year of the latest point in the BattleTech fiction described in the main events of the work. | Date | optional |
Series | series | Series that the work belongs to | Content | optional |
Preceded by | precededby | Preceding product, in the series or otherwise. Do not use links. | String | optional |
Precededdisambig | precededdisambig | If the article name for the preceding product uses a parenthesized appendix for disambiguation, add the contents of the parentheses here. | String | optional |
Followed by | followedby | Following product, in the series or otherwise. Do not use links. | String | optional |
Followeddisambig | followeddisambig | If the article name for the following product uses a parenthesized appendix for disambiguation, add the contents of the parentheses here. | String | optional |