Template:Fleet Infobox: Difference between revisions
Created page with "<!--This is an infobox developed for fleets to use. If you have any ideas for more summary information put it on the discussion page and I may add relevant sections. Please..." |
mNo edit summary |
||
Line 1: | Line 1: | ||
<!--This is an infobox developed for fleets to use. If you have any ideas for more summary information put it on the discussion page and I may add relevant sections. Please do not edit this yourself though.--> | <!--This is an infobox developed for fleets to use. If you have any ideas for more summary information put it on the discussion page and I may add relevant sections. Please do not edit this yourself though.--> | ||
<includeonly> | <includeonly><div> | ||
{| class="chinfo" | {| class="chinfo" | ||
|- | |- | ||
Line 78: | Line 78: | ||
}} | }} | ||
|} | |} | ||
</div> | |||
</includeonly> | </includeonly> | ||
<noinclude> | <noinclude> | ||
{{Fleet Infobox | {{Fleet Infobox |
Latest revision as of 20:44, 2 January 2021
The Fleet Infobox is a template great for use in summarizing your fleet. I've created this one with my current fleet in mind but it is just as applicable with any fleet if you wish to use it.
For some, not all the parameter options are needed, in that case, just leave out the information that you don't wish to include. Best part about these infoboxes is you don't have to use every single parameter. If there are other parameter options you would like to see added make note of them and their use on the talk page and I will review them and quite possibly add them. Any other input is welcomed as well, so I will welcome any other suggestions to better the templates I create.
How to use the Fleet Infobox
A "code" example of the infobox is located farther down the page, you can use that to copy and paste the template into your ship page, or you can go the more drawn out way as follows:
- Trigger the use of the Fleet Infobox on your page by using the following code:
{{Fleet Infobox
- Below that, fill out all the parameters that you wish to use. You'll need the name of the parameter that corresponds to the field want to include; many times the parameter and its name correspond, but several times they do not. A complete list can be found below. The format for filling in a parameter is as follows:
| parameter = value eg. | name = My Fleet
This will replace the {{{name}}} placeholder in the original Fleet Infobox with 'My Fleet'. Each parameter should be put in a new line for ease of parsing and debugging in case something goes wrong.
For easiest readability, you'll most often want to offer short terms that summarize some or all of your fleet's applicable information. The main body of the page allows sufficient room to expand on things, the Fleet Infobox is mostly meant for an at-a-glance summary of the fleet data.
- Close the Template. This is done by appending the following at the end of your list:
|}}
And then you're set.
Parameters will not appear in the box if the value is left blank (eg. name = ). This way, like said earlier, you can decide what you want and what best fits your intentions.
The Fleet Infobox Cheat Sheet
Just copy/paste the list below into your fleets's 'Edit' box and fill in any categories that you might care to fill in. Leave all other lines blank, but do not delete them (parameters with no value will not be displayed in the final infobox, but deleted parameters still appear - very annoying, we're working on it).
{{Fleet Infobox | image = | motto = | name = | affiliation = | founded = | status = | location = | base = | type = | fadm = | adm = | vadm = | radm = | commodore = | division = | ally = | enemy = | footnotes = |}}
List of Parameters
| image = Fleet logo.jpg | motto = Fleet motto | name = Fleet name | affiliation = Who is the fleet affiliated with | founded = When was it founded | status = Current status | location = Where does the fleet operate | base = Base of operations | type = What type of structure is used: military, matriarch, hegemony etc. | fadm = Fleet Admiral | adm = Admiral(s) | vadm = Vice Admiral(s) | radm = Rear Admirals(s) | commodore = Commodore(s) | division = Division(s) currently active & inactive | ally = Who are the fleet's allies | enemy = Who are the fleet's enemies | footnotes = Footnotes
Example of Fleet Infobox Use
As an example, the Fleet Infobox on this page for Second Fleet uses the following:
{{Division Infobox | image = Blue2.gif | motto = | name = Second Fleet | affiliation = [[United Federation of Planets]] | founded = | status = Active Duty | location = Alpha & Beta Quadrants | base = | type = Military Hierarchy | fadm = Fleet Admiral Teg | adm = Includes: *Narasmus *Jackson | vadm = Includes: *Olo *Pieterson *Lorcas *Pelter | radm = Includes: *Arachnidus | commodore = | division = Active: *Combat & Strategic Command *Exploration & Diplomacy | ally = | enemy = | footnotes = This is merely an example |}}
Special Formatting Options
At times you may wish to add more information than would normally fit "neatly" given the size of the infobox. Previous makers of the infoboxes used a particular HTML code to help with formatting so that it keeps a "neat" look while "listing" extra information. An example of this "listing" is shown here based on the example fleet infobox. If you look under the different "Admiral" sections you'll see bulleted lists giving extra information. Finding that the HTML code option did not suite my needs I found another way to display the information while still keeping the look "neat". An example of how I did it is as follows:
| adm = Includes: *Narasmus *Jackson | vadm = Includes: *Olo *Pieterson *Lorcas *Pelter | radm = Includes: *Arachnidus | commodore = | division = Active: *Combat & Strategic Command *Exploration & Diplomacy
- Where the parameter, "| adm", is listed I used a value, "Includes:", that could serve as a title for the listed information that followed it.
- Then I pressed the "Enter" key to move to a new line.
- Used the "*" to create a bullet and filled in the weapon type.
- Then just repeated the process as much as needed.
Note: Created by User:Phantomraptor(Adrian Dillon)