Jump to content

Bysen:Scip

Fram Wikipǣdian
Documentation icon Bysen documentation[view] [edit] [history] [purge]

Lua error in package.lua at line 80: module 'Module:Transclusion_count/data/S' not found.

Bȳsn {{Scip}} creates a wikihlenca to its gewrit and formats the sihtnama correctly. That is, it handles both parts of [[targetpage|label]]. Nū hit upp þǣm brūcend (ēow) tō geƿitanne þis riht: ā blǣhrenc tō þǣm gewrit, and ƿel-ġeformaþ scipes fullnama.

Se scipes gewrit mǣg be namned: [[HMCS Kootenay (H75)]]HMCS Kootenay (H75). Þē þrī parts namend: prefix, name, ID (ID is WP:Disambiguation, or hulu tǣlle, feþer tǣlle, hurl tǣlle: to identify the scip when multiple ships have the same name).

Apart from the article title, in the visible label the name could be formatted. Like: [[HMCS Kootenay (H75)|HMCS ''Kootenay'']]HMCS Kootenay (note the italics, and the omission of the hulu tǣlle – hlencan to the sama gewrit).

Basic usage

[adihtan fruman]
{{ship|1-prefix|2-name|3-ID}} [[1-prefix 2-name (3-ID)|1-prefix ''2-name'' (3-ID)]] Bysen:Ship
1 prefix
like HMS, USS. Leave the parameter blank if the ship's title has no prefix.
2 name
ship's name
3 ID
Specifier like hull number, pennant number, or launch year. Also serves as the WP:Disambiguation term in article titles.

All parameters are optional. You only need to enter the parts that build the article title.

Bȳsna
Bȳsen usage Resulting wikicode Hlenca showing
{{ship|ARA|General Belgrano}} [[ARA General Belgrano|ARA ''General Belgrano'']] Bysen:Ship
{{ship|HMCS|Kootenay|H75}} [[HMCS Kootenay (H75)|HMCS ''Kootenay'' (H75)]] Bysen:Ship

Formasceamas gewīs

[adihtan fruman]

Sē fēorþa, unnamod gewīs |4=ālyfþ setlunge hwilċe dǣlas texta bēoþ onƿeorpne in þǣre ƿicyhrence. Hit seteþ þone bīcnere in þǣre hrence: [[targetpage|label]]

Fœrr bysn, se scipum gewrit is ġecymen as {{ship|HMCS|Kootenay|H75}}, þurh sċyld sċēaƿiġende sƿā Bysen:Ship.

But in your article, the hull number (disambiguator) may not be needed to show. In that case, add |4=2, and the result is:

{{ship|HMCS|Kootenay|H75|2}} [[HMCS Kootenay (H75)|''Kootenay'']] Bysen:Ship

The options are:

Value Parameter(s)
displayed
Example Equivalent wikicode Final result
None prefix, name, ID {{ship|HMCS|Kootenay|H75}} [[HMCS Kootenay (H75)|HMCS ''Kootenay'' (H75)]] Bysen:Ship
1 ID {{ship|HMCS|Kootenay|H75|1}} [[HMCS Kootenay (H75)|H75]] Bysen:Ship
2 name {{ship|HMCS|Kootenay|H75|2}} [[HMCS Kootenay (H75)|''Kootenay'']] Bysen:Ship
3 name, ID {{ship|HMCS|Kootenay|H75|3}} [[HMCS Kootenay (H75)|''Kootenay'' (H75)]] Bysen:Ship
4 invalid {{ship|HMCS|Kootenay|H75|4}} Bysen:Ship
5 prefix, ID {{ship|HMCS|Kootenay|H75|5}} [[HMCS Kootenay (H75)|HMCS ''H75'']] Bysen:Ship
6 prefix, name {{ship|HMCS|Kootenay|H75|6}} [[HMCS Kootenay (H75)|HMCS ''Kootenay'']] Bysen:Ship
[adihtan fruman]

By setting |wl=no, the same formatting is made but the ship's name is not linked:

Bysen:Ship (regular, {{ship|HMCS|Kootenay|H75}})
Bysen:Ship (no wikilink, setting {{ship|HMCS|Kootenay|H75|wl=no}})

Prefix in/out option

[adihtan fruman]

Parameter |up=yes (for unlinked prefix) can be used to have an unlinked prefix:. When set to "yes", the bȳsen will display the prefix before (outside of) the wikilink.

Examples
  • {{ship|Japanese battleship|Yamato|up=yes}}Bysen:Ship

Using a format option:

  • {{ship|Japanese battleship|Yamato||2|up=yes}}Bysen:Ship

TemplateData

[adihtan fruman]

Bysen:TemplateData header

This template provides a wikilink to a ship's page, with label options

Template parameters

ParameterDescriptionTypeStatus
Prefix1

Fleet identifier

Example
HMS, Japanese battleship
Stringoptional
Name2

Ship's name

Example
Bismarck, Belgrano
Stringoptional
ID3

Hull number, launch year, or pennant number

Example
H75, 1975,
Stringoptional
Format4

Formats label (parts showing)

Default
blank
Example
1, 2, 3, 5, 6
Numberoptional
unlink prefixup

yes=puts Fleet ID outside of Wikilink

Default
no
Example
up=yes
Booleanoptional

Tracking categories

[adihtan fruman]

See also

[adihtan fruman]

Bysen:WPSHIPS shortcut templates

Bysen:Sandbox other