Template:Sandbox crew

From YPPedia
Sandbox crew at a Glance
[[{{{ocean}}} Ocean]]
Captain {{{captain}}}
Senior Officer(s)
Politics Autocratic
Shares {{{shares}}}
Flag Affiliation None
Last updated on {{{updateday}}} {{Month/{{{updatemonth}}}}}, {{{updateyear}}}

Usage

These usage notes will not be included in articles bearing this template.

This template is for crews. To use, first copy and paste the following into your crew's page.

{{Infobox crew
|crewname=
|captain=
|seniorofficers=
|organized=
|organization=
|oceanname=
|politics=
|shares=
|flag=
|founded=
|foundedday=
|foundedmonth=
|foundedyear=
|updateday=
|updatemonth=
|updateyear=
|crewid=
|portrait=
}}

Next, fill in each parameter with your crew's information, placing it between the equals sign and vertical bar/pipe ("|"). If your crew doesn't have an organized political system, put "no" for "organized" and leave "organization" blank. If your crew has an organized political system, put "yes" under "organized" and briefly describe its organization under "organization". For the update fields, use the numeric day, month, and year without any leading zeros. For the 7th of January, 2006, for example, the fields would be:
updateday=7|
updatemonth=1|
updateyear=2006|

Some spots can be put under different parameter names. For example, ocean can be used instead of oceanname, if desired. Same for crew replacing crewname.

After the double bracket— }} —that closes the template, you can write anything you like about your crew. Don't worry about fancy formatting or linkage; there are plenty of people willing and quick to edit.

Most importantly, we want each crew to have a brief history about it. If your crew has taken part in an exciting blockade, or has suffered losses in a vicious war, write about it.

Optional parameters

To include a link to the in-game Crew Info page, include
|crewid=

into the template, using the crewid number listed when opening the page in a browser. For an example in action, please see Dread Ringers.

The other optional parameters are as follows:

  • organized (yes/no (defaults to no))
  • organization (defaults to blank)
  • politics (defaults to Autocratic)
  • flag (defaults to None)
  • seniorofficers (defaults to blank)
  • founded (yes/no (defaults to no))
  • crewid (defaults to blank)
  • portrait (yes/no (defaults to no))
    • Set portrait=yes if the crew has a portrait uploaded to Image:Crews-Crewname.jpg. This image should be a group portrait.

Troubleshooting the template

If it doesn't seem to be displaying correctly, first check the following things:

  • Make sure all of your linked captain or senior officer names have an opening and closing set of tags ([[ and ]])
  • Make sure you have the required fields filled in: organized (yes, no) and oceanname (Azure, Cobalt, Hunter, Ice, Midnight, Sage, Viridian)
    • If you are on more than one ocean, use two separate infoboxes using the table info below
  • Make sure you have not accidentally deleted the | that separates each variable
  • Make sure there is an opening and closing tag for the template ({{ and }})
  • Make sure you used the number of the month instead of its name in the update field, and make sure you have no leading zeros (May is month 5, not 05), and that you used the 4-digit year (2006, not 06)

If you still can't get it to work after checking those things, leave a note on the crew's talk page asking for help (don't forget to put something like "infobox help" in the edit summary) and someone will be happy to give you a hand with it.

Using more than one Infobox crew on a page

If you're using more than one infobox crew template on a page, put it into a table using the following table code:

{| border=0 style="float:right;"
|-
|
<infoboxes here>
|}

This will stop the edit links for sections from being all over the place.