Jump to content

Template:Sandbox: Difference between revisions

From Mantipedia
EJordan (talk | contribs)
No edit summary
EJordan (talk | contribs)
Replaced content with "This is Wiki Editor Eric Jordan's little sandbox where he tests things without breaking the whole Wiki."
Tag: Replaced
 
Line 1: Line 1:
<includeonly>{| class="sidebar" align="right" colSpan="2" width="250px" cellpadding="4" cellspacing="0"
This is Wiki Editor Eric Jordan's little sandbox where he tests things without breaking the whole Wiki.
|-
| class="class" width="250px" colSpan="2" align="center" | '''{{PAGENAME}}'''
|-
| class="image" colspan="2" align="center" | {{#if: {{{crest|}}}
| {{sidebar image|{{{crest}}}}}
 
}}
|- valign="top"
{{#if: {{{image|}}}|
{{!}} class="image" colspan="2" align="center" align="center" colspan="2" {{!}} {{sidebar image|{{{image}}}}}}}
|- valign="top"
{{#if: {{{name|}}}|
{{!}} class="left" {{!}} '''Name:'''
{{!}} class="righta" {{!}} {{{name}}}}}
|- valign="top"
{{#if: {{{hcn|}}}|
{{!}} class="left" {{!}} '''[[HCN]]:'''
{{!}} class="righta" {{!}} {{{hcn}}}}} [[Category:{{{hcn}}}]]
|- valign="top"
{{#if: {{{city|}}}|
{{!}} class="left" {{!}} '''Charter City:'''
{{!}} class="righta" {{!}} {{{city}}}}}
|- valign="top"
{{#if: {{{class|}}}|
{{!}} class="left" {{!}} '''Class:''' [[Category:{{{class}}}-class]]
{{!}} class="righta" {{!}} ''[[{{{class}}}-class|{{{class}}}]]}}''
|- valign="top"
{{#if: {{{type|}}}|
{{!}} class="left" {{!}} '''Type:'''
{{!}} class="righta" {{!}} [[{{{type}}}]]}}
|- valign="top"
{{#if: {{{affiliation|}}}|
{{!}} class="left" {{!}} '''Affiliation:'''
{{!}} class="righta" {{!}} {{{affiliation}}}}}
|- valign="top"
{{#if: {{{co|}}}|
{{!}} class="left" {{!}} '''Commander:'''
{{!}} class="righta" {{!}} {{{co}}}}}
|- valign="top"
{{#if: {{{launched|}}}|
{{!}} class="left" {{!}} '''Launched:'''
{{!}} class="righta" {{!}} {{{launched}}}}}
|- valign="top"
{{#ifeq:{{{status}}}|Active|[[Category:Chapters]]|""}}
|- valign="top"
{{#if: {{{reportsto|}}}|
{{!}} class="left" {{!}} '''Reporting to:'''
{{!}} class="righta" {{!}} [[{{{reportsto}}}]]}}
|- valign="top"
{{#if: {{{fleet|}}}|
{{!}} class="left" {{!}} '''[[Fleet]]:'''
{{!}} class="righta" {{!}} [[{{{fleet}}}]]}}
|- valign="top"
{{#if: {{{website|}}}|
{{!}} class="left" {{!}} '''Website:'''
{{!}} class="righta" {{!}} [{{{website}}} {{{website}}}]}}
|- valign="top"
{{#if: {{{image2|}}}|
{{!}} class="image" colspan="2" align="center" align="center" colspan="2" {{!}} {{sidebar image|{{{image2}}}}}}}
|- valign="top"
{{#if: {{{altimage|}}}|
{{!}} class="image" colspan="2" align="center" align="center" colspan="2" {{!}} {{{altimage}}}}}
|}
</includeonly><noinclude>
 
==Usage==
<pre>{{Infobox-chapter
| crest      =
| image      =
| name        =
| hcn        =
| city        =
| class      =
| type        =
| affiliation =
| co          =
| launched    =
| status      =
| reportsto  =
| fleet      =
| website    =
| image2      =
| altimage    =
}}</pre>
 
==Parameters==
Parameters in '''bold''' are required fields. ''Not'' bold = optional.
{| border=1 cellpadding=4 cellspacing=0 style="margin: 0 0 1em 1em; border: 1px #aaaaaa solid; border-collapse: collapse; font-size: 95%;"
! Parameter
! Explanation
|-
|crest
| The ship's [[crest]] image. If no image is available, omit this parameter.
|-
|image
| An image relevant to the ship, such as the side elevation or the ship's class image.
|-
| name
| Name of the vessel (in ''italics'' <nowiki>('' '')</nowiki>). "HMS", etc. should NOT be italicized. Example: HMS ''Fearless''.
|-
| hcn
| The ship's hull number (ie: DD-486, BC-592, SD-200, etc).  If none, leave blank.
|-
| city
| The chapter's [[Chapter#City_of_Charter|Charter city]]; essentially the official city of record for that chapter.  Do not include any additional areas of patrol, only list a single city or other [[wikipedia:Census-designated_place|census-designated place]].  This will be verified and changed accordingly during edit patrols.
|-
| class
| Class of ship this vessel belongs to (''Star Knight'', ''Nike'', ''Invictus'', etc.). Specify ''only'' the class ''name'' (not <nowiki>[[name class|name]]</nowiki>). ''Italicized'' and <nowiki>[[linked]]</nowiki> automatically.
|-
| type
| Type of ship. ([[Destroyer]], [[Light Cruiser]], Escort, [[Battlecruiser]], etc.) <nowiki>[[Linked]]</nowiki> automatically.
|-
| affiliation
| The affiliation of the starship.  <nowiki>{{rmn}}, {{gsn}}, {{ian}}, etc.</nowiki>
|-
| co
| Name of the Ship's CO.  Keep it short (ie: <nowiki>[[CAPTSG]] Dame Honor Harrington, [[RMN]]</nowiki>). Post-nominals will go into the main article.
|-
| launched
| Date of ship's launch.
|-
| status
| Is this ship currently "Active" or has it been "Decommissioned"?
|-
| reportsto
| Which echelon force (fleet, task force, task group, squadron, etc) does this ship report to?  Will be <nowiki>[[linked]]</nowiki> automatically.
|-
| fleet
| Which [[fleet]] does this chapter belong to?
|-
| website
| Type in the exact URL.  Will be <nowiki>[[linked]]</nowiki> automatically.
|-
| image2 / altimage
| Second or third image relevant to the ship (optional), might be the ship's shoulder flash patch or circular logo.
|}
 
 
[[Category:Sidebar templates]]</noinclude>

Latest revision as of 20:47, 22 September 2026

This is Wiki Editor Eric Jordan's little sandbox where he tests things without breaking the whole Wiki.