Form:Infobox ship: Difference between revisions

From AAFNRPWiki
Jump to navigationJump to search
(Created page with '<noinclude> This is the "Infobox ship" form. To create a page with this form, enter the page name below; if a page with that name already exists, you will be sent to a form to ed…')
 
No edit summary
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
This is the "Infobox ship" form.
To add a ship to the Wiki  with this form, enter the ship name below;
To create a page with this form, enter the page name below;
if a ship with that name already exists, you will be sent to a form to edit that page.
if a page with that name already exists, you will be sent to a form to edit that page.




Line 11: Line 10:
{{{for template|Infobox ship}}}
{{{for template|Infobox ship}}}
{| class="formtable"
{| class="formtable"
! Faction
| {{{field|Faction|input type=dropdown|values from category=Faction}}}
|-
! Hull
| {{{field|Hull|input type=text with autocomplete|values from property=Hull}}}
|-
! Class:
! Class:
| {{{field|Class}}}
| {{{field|Class}}}
Line 18: Line 23:
|-
|-
! Campaign:
! Campaign:
| {{{field|Campaign|mandatory}}}
| {{{field|Campaign|mandatory|autocomplete on category=Campaign|values from category=Campaign}}}
|}
|}
{{{end template}}}
{{{end template}}}

Latest revision as of 13:16, 18 April 2011

To add a ship to the Wiki with this form, enter the ship name below; if a ship with that name already exists, you will be sent to a form to edit that page.