Difference between revisions of "Template:Infobox fictional race/sandbox"
Jump to navigation
Jump to search
imported>Gonnym |
imported>Gonnym (syncing sandbox) |
||
Line 18: | Line 18: | ||
| data4 = {{{creator|}}} | | data4 = {{{creator|}}} | ||
− | | header10 = {{#if: {{{iu_creator|}}} {{{iu_created_date|}}} {{{home_world|}}} {{{capital|}}} {{{base_of_operations|}}} {{{type|}}} {{{sub_races|}}} {{{language|}}} {{{currency|}}} {{{religion|}}} {{{leader|}}} {{{leaders|}}} {{{members|}}} | Information }} | + | | label5 = Based on |
+ | | data5 = {{{based_on|}}} | ||
+ | |||
+ | | header10 = {{#if: {{{iu_creator|}}} {{{iu_created_date|}}} {{{quadrant|}}} {{{home_world|}}} {{{capital|}}} {{{base_of_operations|}}} {{{type|}}} {{{sub_races|}}} {{{distinctions|}}} {{{language|}}} {{{currency|}}} {{{religion|}}} {{{affiliation|}}} {{{alignment|}}} {{{leader|}}} {{{leaders|}}} {{{members|}}} | Information }} | ||
| label12 = Created by fictional being | | label12 = Created by fictional being | ||
− | | data12 = | + | | data12 = {{{iu_creator|}}} |
| label11 = Created date | | label11 = Created date | ||
− | | data11 = | + | | data11 = {{{iu_created_date|}}} |
− | | label13 = [[Galactic quadrant (Star Trek)|Quadrant | + | | label13 = [[Galactic quadrant (Star Trek)|Quadrant]] |
| data13 = {{{quadrant|}}} | | data13 = {{{quadrant|}}} | ||
| label14 = Home world | | label14 = Home world | ||
− | | data14 = | + | | data14 = {{{home_world|}}} |
| label15 = Capital | | label15 = Capital | ||
Line 39: | Line 42: | ||
| label17 = Type | | label17 = Type | ||
− | | data17 = | + | | data17 = {{{type|}}} |
| label18 = Sub-races | | label18 = Sub-races | ||
| data18 = {{{sub_races|}}} | | data18 = {{{sub_races|}}} | ||
− | | label19 = Distinctions | + | | label19 = Distinctions |
| data19 = {{{distinctions|}}} | | data19 = {{{distinctions|}}} | ||
| label20 = Language | | label20 = Language | ||
− | | data20 = | + | | data20 = {{{language|}}} |
| label21 = Currency | | label21 = Currency | ||
Line 56: | Line 59: | ||
| data24 = {{{religion|}}} | | data24 = {{{religion|}}} | ||
− | | label25 = Affiliation | + | | label25 = {{#if: {{{affiliation|}}} | Affiliation | Alignment }} |
− | | data25 = {{{affiliation|}}} | + | | data25 = {{If empty |{{{affiliation|}}} |{{{alignment|}}} }} |
| label26 = {{#if: {{{leader|}}} | Leader | Leaders }} | | label26 = {{#if: {{{leader|}}} | Leader | Leaders }} | ||
Line 67: | Line 70: | ||
}}<!-- Start tracking | }}<!-- Start tracking | ||
− | -->{{#invoke:Check for unknown parameters|check|unknown={{Main other|[[Category:Pages using infobox fictional race with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox fictional race]] with unknown parameter "_VALUE_"| affiliation | alt | base_of_operations | capital | caption | creator | currency | distinctions | first | first_date | first_issue | first_major | first_minor | franchise | home_world | image | image_size | image_upright | iu_creator | iu_created_date | language | last | last_date | last_issue | last_major | last_minor | leader | leaders | members | name | other_names | quadrant | religion | series | sub_races | type }}<noinclude> | + | -->{{#invoke:Check for unknown parameters|check|unknown={{Main other|[[Category:Pages using infobox fictional race with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox fictional race]] with unknown parameter "_VALUE_"| affiliation | alignment | alt | base_of_operations | based_on | capital | caption | creator | currency | distinctions | first | first_date | first_issue | first_major | first_minor | franchise | home_world | image | image_size | image_upright | iu_creator | iu_created_date | language | last | last_date | last_issue | last_major | last_minor | leader | leaders | members | name | other_names | quadrant | religion | series | sub_races | type }}<noinclude> |
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> |
Latest revision as of 16:27, 3 April 2019
Alignment | Script error: No such module "If empty". |
---|---|
Leaders | Script error: No such module "If empty". |
![]() | This is the template sandbox page for Template:Infobox fictional race (diff). |
![]() | This template uses Lua: |
Infobox fictional race is used to create an infobox for a fictional race of any type.
Usage
The blank form immediately below shows the most commonly used fields, and complete instructions are listed further down the page.
Script error: No such module "If empty". | |
---|---|
{{{series}}} race | |
[[File:{{{image}}}|frameless|alt={{{alt}}}|upright=1|{{{alt}}}]] {{{caption}}} | |
Also known as | {{{other_names}}} |
First appearance |
|
Last appearance |
|
Created by | {{{creator}}} |
Based on | {{{based_on}}} |
Information | |
Created date | {{{iu_created_date}}} |
Created by fictional being | {{{iu_creator}}} |
Quadrant | {{{quadrant}}} |
Home world | {{{home_world}}} |
Capital | {{{capital}}} |
Base of operations | {{{base_of_operations}}} |
Type | {{{type}}} |
Sub-races | {{{sub_races}}} |
Distinctions | {{{distinctions}}} |
Language | {{{language}}} |
Currency | {{{currency}}} |
Official religion | {{{religion}}} |
Affiliation | Script error: No such module "If empty". |
Leader | Script error: No such module "If empty". |
Notable members | {{{members}}} |
{{Infobox fictional race
| name =
| other_names =
| series = <!-- or |franchise=; use without the italic on the outside -->
| image =
| alt =
| caption =
| first_major = <!-- per [[MOS:MAJORWORK]] - major works include TV series, films, books, albums and games -->
| first_minor = <!-- or |first_issue=; Per [[MOS:MINORWORK]] - minor works include TV episodes, chapters, songs and game missions -->
| first_date =
| last_major =
| last_minor = <!-- or |last_issue= -->
| last_date =
| creator =
| based_on = <!-- if not an original creation, use {{based on|character|author}} -->
| iu_creator =
| iu_created_date =
| quadrant =
| home_world =
| capital =
| base_of_operations =
| type =
| sub_races =
| distinctions =
| language =
| currency =
| religion =
| affiliation = <!-- or |alignment= -->
| leader = <!-- or |leaders= -->
| members =
}}
Parameters
All parameters are optional. Separate multiple entries using {{Plainlist}}.
Parameter | Notes |
---|---|
color | Background color for header bars (default = #DEDEE2). The text color is automatically computed. Must meet AAA compliance standards outlines on WP:COLOR. |
name | Race name to display in top header (default = PAGENAME). |
series | Name of the series in which the race appears. |
franchise | Name of the fictional world or story in which the race appears. Does not italicize title. |
multiple | Set to yes if the infobox describes more than one race. |
image | Image of the race. "File:" and wikilinking is not required. i.e. use |image=Example.png .
|
image_upright | The image size defaults to frameless (220px). The size should not be set to a value that would result in an image width greater than 270px. See help below for guidance on determining the value to be used. |
alt | Alt text for image per WP:MOSALT. |
caption | A caption explaining the image. |
first_major | The title of the major work the fictional element first appeared in. Major works include TV series, films, books, albums and games. |
first_minor | The title of the minor work the fictional element first appeared in. Minor works include TV episodes, chapters, songs and game missions. |
first_issue | The number of the comic book issue the fictional element first appeared in. |
first_date | The date of the publication/release of the minor work where the fictional element first appeared in. |
last_major | The title of the major work the fictional element last appeared in. Major works include TV series, films, books, albums and games. |
last_minor | The title of the minor work the fictional element last appeared in. Minor works include TV episodes, chapters, songs and game missions. |
last_issue | The number of the comic book issue the fictional element last appeared in. |
last_date | The date of the publication/release of the minor work where the fictional element last appeared in. |
first | First appearance of the race. |
last | Last appearance of the race. |
creator | Name of the individuals who are credited with the creation of the race. |
based_on | Name of the original race the adaptation is based on. If based on a work by a known author, use to add the title of original race and the names of the original creators. |
iu_creator | The in-universe entity which created the race. |
iu_created_date | The in-universe date the race was created. |
quadrant | The quadrant of the galaxy the race is primary located at (used for Star Trek races). |
home_world | The race's home world. |
capital | The race's capital city. |
base_of_operations | The race's primary base of operations. |
type | The type of creature this race is. |
sub_races | A list of the race's sub-races. |
distinctions | The race's psychical distinctions. |
language | The race's primary language. |
currency | The race's currency. |
religion | The race's religion or worship. |
affiliation | The groups or teams the race belongs to. |
alignment | The race's Dungeons & Dragons alignment. |
|
The race's leader. If there was more than one notable leader, use |leaders= and separate multiple entries using {{Plainlist}}.
|
members | Notable members belonging to the race. Add only characters with articles. If the list has more than a few names, link to a section of the article that has the complete list. |
TemplateData
Expand TemplateData
|
---|
Tracking categories
- Category:Pages using infobox fictional race with unknown parameters (0)
- Category:Articles using infoboxes for fictional elements with invalid color combination (8)
The above documentation is transcluded from Template:Infobox fictional race/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |