Template:Infobox/Faction/doc: Difference between revisions

Template page
(Created page with "You can copy and paste the template parameters from below, or use the Template Wizard in the visual editor. ==Usage== <pre> <nowiki>{{Infobox/Character | Image = | Caption = | Status = | DateFormed = | DateDisbanded = | Aliases = | Motto = | Mission = | Color = | Location = | Allies = | Enemies = | Affiliations = }}</nowiki> </pre> ==Template Data== <templatedata> { "params": { "Image": { "label": "Business Logo / Image", "description": "Picture of t...")
 
No edit summary
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{documentation}}
You can copy and paste the template parameters from below, or use the Template Wizard in the visual editor.
You can copy and paste the template parameters from below, or use the Template Wizard in the visual editor.
==Usage==
==Usage==
<pre>
<pre>
<nowiki>{{Infobox/Character
<nowiki>{{Infobox/Faction
| FactionSwitch = Business / Criminal / Public Sector
| Image =  
| Image =  
| Caption =  
| Caption =  
| Status =  
| Status = Active / Closed / Disbanded
| DateFormed =  
| DateFormed =  
| DateDisbanded =  
| DateDisbanded =  
| Aliases =  
| Aliases =  
| FactionType = Cafe / Nightclub / Shop / Motorcycle Club / Street Gang / Mob / Syndicate / Family / Mafia / Outfit / Crew / Etc....
| Motto =  
| Motto =  
| Mission =
| Mission =
| Color =  
| Color =  
| Location =
| Location =
| Owner =
| CEO =
| Address =
| Allies =  
| Allies =  
| Enemies =  
| Enemies =  
| Investors =
| Affiliations =  
| Affiliations =  
| MapImage =
}}</nowiki>
}}</nowiki>
</pre>
</pre>


==Template Data==
 
<templatedata>
<templatedata>
{
{
"params": {
"params": {
"FactionSwitch": {
"label": "Type of Faction",
"description": "Is this a Business, Crime Organization, or Public Sector.",
"type": "string",
"suggestedvalues": [
"Business",
"Criminal",
"Public Sector"
],
"required": true
},
"Image": {
"Image": {
"label": "Business Logo / Image",
"label": "Faction Logo",
"description": "Picture of the subject of this article.",
"description": "Logo of the business or crime faction.",
"type": "wiki-file-name",
"type": "wiki-file-name",
"suggested": true
"suggested": true
},
},
"Status": {
"Status": {
"label": "Gang Status",
"description": "Is the faction still active?",
"description": "What is the play status of this gang?",
"type": "string",
"suggestedvalues": [
"suggestedvalues": [
"Active",
"Active",
"Inactive",
"Inactive",
"Disbanded"
"Disbanded",
"Closed"
],
"suggested": true
},
"DateFormed": {
"description": "When did the faction form?",
"type": "number",
"default": "YYYY-MM-DD",
"suggested": true
},
"DateDisbanded": {
"description": "If relevant, when did the faction disband or close?",
"type": "date",
"default": "YYYY-MM-DD"
},
"Aliases": {
"description": "Alternative names the faction is known by.",
"type": "string",
"suggested": true
},
"FactionType": {
"description": "What type of faction is this??",
"type": "string",
"suggestedvalues": [
"Motorcycle Club",
"Street Gang",
"Mob",
"Syndicate",
"Family",
"Mafia",
"Outfit",
"Crew",
"Cafe",
"Nightclub",
"Garage",
"Shop"
],
],
"suggested": true,
"suggested": true,
"type": "string"
"label": "Faction Type"
},
},
"Caption": {},
"Motto": {
"DateFormed": {},
"label": "Gang Only | Motto",
"DateDisbanded": {},
"description": "The motto or common saying of the faction.",
"Aliases": {
"description": "Does this group have any nicknames or go by other names?",
"type": "string"
"type": "string"
},
},
"Mission": {
"Mission": {
"description": "What are the goals of this faction?"
"label": "Gang Only | Mission",
"description": "What are the goals of this faction?",
"type": "string"
},
},
"Color": {
"Color": {
"label": "Gang Only | Color",
"description": "Does this gang have an associated color or tag?",
"description": "Does this gang have an associated color or tag?",
"type": "string"
},
"Location": {
"label": "Gang Only | Location",
"description": "The address or general location the gang can be found.",
"type": "string"
},
"BusinessType": {
"label": "Business Only | Business Type",
"description": "What type of business is this?",
"type": "string",
"type": "string",
"suggested": true
"suggestedvalues": [
"Cafe",
"Nightclub",
"Shop"
]
},
"Owner": {
"label": "Business Only | Owner",
"description": "Who owns the business?",
"type": "string"
},
"CEO": {
"label": "Business Only | CEO",
"description": "Who runs the business?",
"type": "string"
},
"Address": {
"label": "Business Only | Address",
"description": "What's the address of the business?",
"type": "string"
},
},
"Allies": {
"Allies": {
"description": "Links to allied groups",
"description": "Does the faction have any friends or allies?",
"type": "string"
"type": "wiki-template-name",
"suggested": true
},
},
"Enemies": {
"Enemies": {
"description": "Links to enemy groups."
"description": "Does the faction have any rival or enemies?",
"type": "wiki-template-name",
"suggested": true
},
"Investors": {
"description": "Does the faction have an investor?",
"type": "wiki-template-name"
},
},
"Affiliations": {
"Affiliations": {
"description": "Links to affiliated groups or organizations.",
"description": "Is the faction affiliated with any other factions?",
"type": "wiki-template-name",
"suggested": true
"suggested": true
},
},
"Motto": {
"MapImage": {
"description": "The motto or common saying of the faction.",
"description": "Picture of the location on a map where the business or faction can be found.",
"type": "string",
"type": "wiki-file-name",
"suggested": true
"suggested": true
}
}
},
},
"description": "An infobox containing information about a Faction in the server.",
"description": "A template used for the creation of Faction articles.",
"format": "block",
"format": "block"
"paramOrder": [
"Image",
"Caption",
"Status",
"DateFormed",
"DateDisbanded",
"Aliases",
"Motto",
"Mission",
"Color",
"Allies",
"Enemies",
"Affiliations"
]
}
}
</templatedata>
</templatedata>

Latest revision as of 09:38, 7 February 2023

Template:Infobox/Faction invokes Template:Infobox/styles.css using TemplateStyles.

You can copy and paste the template parameters from below, or use the Template Wizard in the visual editor.

Usage

{{Infobox/Faction
| FactionSwitch = Business / Criminal / Public Sector
| Image = 
| Caption = 
| Status = Active / Closed / Disbanded
| DateFormed = 
| DateDisbanded = 
| Aliases = 
| FactionType = Cafe / Nightclub / Shop / Motorcycle Club / Street Gang / Mob / Syndicate / Family / Mafia / Outfit / Crew / Etc....
| Motto = 
| Mission =
| Color = 
| Location =
| Owner =
| CEO =
| Address =
| Allies = 
| Enemies = 
| Investors =
| Affiliations = 
| MapImage =
}}


A template used for the creation of Faction articles.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Type of FactionFactionSwitch

Is this a Business, Crime Organization, or Public Sector.

Suggested values
Business Criminal Public Sector
Stringrequired
Faction LogoImage

Logo of the business or crime faction.

Filesuggested
StatusStatus

Is the faction still active?

Suggested values
Active Inactive Disbanded Closed
Stringsuggested
DateFormedDateFormed

When did the faction form?

Default
YYYY-MM-DD
Numbersuggested
DateDisbandedDateDisbanded

If relevant, when did the faction disband or close?

Default
YYYY-MM-DD
Dateoptional
AliasesAliases

Alternative names the faction is known by.

Stringsuggested
Faction TypeFactionType

What type of faction is this??

Suggested values
Motorcycle Club Street Gang Mob Syndicate Family Mafia Outfit Crew Cafe Nightclub Garage Shop
Stringsuggested
Gang Only | MottoMotto

The motto or common saying of the faction.

Stringoptional
Gang Only | MissionMission

What are the goals of this faction?

Stringoptional
Gang Only | ColorColor

Does this gang have an associated color or tag?

Stringoptional
Gang Only | LocationLocation

The address or general location the gang can be found.

Stringoptional
Business Only | Business TypeBusinessType

What type of business is this?

Suggested values
Cafe Nightclub Shop
Stringoptional
Business Only | OwnerOwner

Who owns the business?

Stringoptional
Business Only | CEOCEO

Who runs the business?

Stringoptional
Business Only | AddressAddress

What's the address of the business?

Stringoptional
AlliesAllies

Does the faction have any friends or allies?

Templatesuggested
EnemiesEnemies

Does the faction have any rival or enemies?

Templatesuggested
InvestorsInvestors

Does the faction have an investor?

Templateoptional
AffiliationsAffiliations

Is the faction affiliated with any other factions?

Templatesuggested
MapImageMapImage

Picture of the location on a map where the business or faction can be found.

Filesuggested