Fyrimynd:Fs player/doc

Frá Wikipedia, hin frælsa alfrøðin
Jump to navigation Jump to search

Frágreiðingin niðanfyri er fyri tað mesta á enskum og er frá ensku Wikipediu. Hesar fyrimyndir finnast eisini við føroyskum parametrum, hesar á enskum eru upprættaðar fyri at lætta um, tá ið ein vil avrita ein fótbóltshóp hjá einum liði beinleiðis av ensku Wikipediu, uttan at noyðast at brúka tíð uppá at týða t.d. FS player til Fh leikari fyrst. Um tú ynskir at nýta fyrimyndirnar við føroyskum parametrum, so eru tær at finna her: Fyrimynd:Fh leikari - Fyrimynd:Fh byrjan - Fyrimynd:Fh mitt - Fyrimynd:Fh endi.

Nýtsla[rætta wikitekst]

This template is used to display a football (soccer) player squad in a standard format.

Syntax[rætta wikitekst]

Fs er stytting fyri Football squad, tvs. fótbóltshópur. Ein kann antin nýta tann stutta formin Fs player ella tann langa formin Football squad player.

Most squads are split into two vertical columns. For these, you can use the {{Football squad start}}, {{Football squad mid}} and {{Football squad end}} templates to help with the layouting, and then use this template repeatedly within them:

{{Fs start}}
<!-- For help using the below template, please see [[:en:Template talk:Football squad player]] -->
{{Football squad player|no=#SHIRT_NUMBER|nat=#NATIONALITY|pos=#POS_OR_ROLE|name=#PLAYER_NAME}}
{{Football squad player|no=#SHIRT_NUMBER|nat=#NATIONALITY|pos=#POS_OR_ROLE|name=#PLAYER_NAME|other=#OTHER_RELATED_INFO}}
...
{{Football squad mid}}
{{Football squad player|no=11|nat=ITA|pos=FW|name=[[Gioacchini Simone]]}}
...
{{Football squad end}}

Alternatively, if you just want a single column, you can use {{football squad blank column}} to fill in a blank right hand column.

{{football squad start}}
{{Football squad player|no=#SHIRT_NUMBER|nat=#NATIONALITY|pos=#POS_OR_ROLE|name=#PLAYER_NAME}}
...
{{football squad blank column}}
{{Football squad end}}

Alternative template names[rætta wikitekst]

In order to make easier the work of writing new squads, some alternative, shorter, names has been designed. So, you may now use {{Fs start}}, {{Fs mid}}, {{Fs player}}, {{Fs end}} and {{Fs blank column}} as alternative templates, using the same equivalent syntax of the other ones.

Dømi[rætta wikitekst]

Legg til merkis, at landið ofta kann skrivast antin á føroyskum ella enskum. Um tað ikki riggar, leita so eftir landakotuni við trimum bókstavum og nýt hana í staðin.

Til dømis framleiðir henda kotan:

{{Football squad start}}
{{football squad player | no=1  | nat=Spania     | pos=GK | name=[[Iker Casillas]]}}
{{football squad player | no=3  | nat=Spain      | pos=DF | name=[[Gerard Pique]]}}
{{football squad player | no=9  | nat=Singapore  | pos=FW | name=[[Aleksandar Đurić]] | other=liðskipari}}
{{football squad mid}}
{{football squad player | no=10 | nat=Netherlands| pos=FW | name=[[Robin Van Persie]]}}
{{football squad player | no=13 | nat=South Korea| pos=MF | name=[[Park Ji-sung]]}}
{{football squad player | no=25 | nat=England    | pos=GK | name=[[Joe Hart]]}}
{{football squad end}}

hesa talvuna:

Viðmerking: Fløgg vísa til landslið, sambært reglunum hjá FIFA. Leikarar kunnu hava meira enn ein ikki-FIFA tjóðskap.

Nr. Pláss Leikari
1 Spania Iker Casillas
3 Spania Ve Gerard Pique
9 Singapor Ál Aleksandar Đurić (liðskipari)
Nr. Pláss Leikari
10 Niðurlond Ál Robin Van Persie
13 Suðurkorea Mi Park Ji-sung
25 England Joe Hart

Parametur[rætta wikitekst]

  • no: Troyggjunummarið hjá leikaranum, um viðkomandi hevur eitt nummar. Um nummarið hjá leikaranum er ókent ella ikki givið enn, so kanst tú í staðin innseta ella onki skriva har.
  • nat: Tjóðskapurin hjá leikaranum. Nýt antin navnið á landinum ella finn fram til kotuna hjá landinum, ið hevur 3 bókstavir, tú finnur kotuna her: ISO 3166-1 ella her: Listi yvir IOC landakotur (seinni listin hevur bert OL-góðkend lond, tí er t.d. eitt land sum Føroyar ikki at finna her).

This is usually the country of the player's birth; however, if a player has dual nationality then use the country that he represents in international football.

  • pos: The position in which the player plays. You can use any of the four options below:
    1. GK fyri málmann (stytting fyri enska orðið: Goalkeeper);
    2. DF fyri verjuleikari (stytting fyri enska orðið: Defender);
    3. MF fyri miðvallaleikara (stytting fyri enska orðið: Midfielder);
    4. FW fyri álopsleikara (stytting fyri enska orðið: Forward);
  • name: Navnið á leikaranum.
  • other: This is an optional parameter. You can add any related info to this parameter, like specifying captain, vice-captain, whether the player is on loan, etc. It will show additional info in the brackets after the player name. You do not have to specify it if neither applies.

Fyrimyndir finnast eisini við føroyskum parametrum, hesar eru upprættaðar fyri at lætta um arbeiði við at avrita beinleiðis frá ensku Wikipediu uttan at nýtast at týða parametrarnir til føroyskt fyrst. Alt ið verður víst í greinunum verður tó á føroyskum.

Microformat[rætta wikitekst]

The HTML markup produced by this template includes an hCard microformat, which makes the person's name parsable by computers, either acting automatically to catalogue articles across Wikipedia or via a browser tool operated by a reader, to (for example) add the subject to an address book. For more information about the use of microformats on Wikipedia, please see the microformat project.

To include a URL, use {{URL}}.

Classes[rætta wikitekst]

The hCard in this template uses at least some of these HTML classes:

  • agent
  • family-name
  • fn (required)
  • given-name
  • honorific-prefix
  • honorific-suffix
  • n
  • nickname
  • org
  • url
  • vcard

Please do not rename or remove these classes nor collapse nested elements which use them.


TemplateData[rætta wikitekst]

The template gives displays the shirt no., country, position and full name of a football (soccer) player. Also mentions if a player is a captain, vice-captain or on-loan.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Natnat

The national team of the player

Example
Brazil
Stringrequired
Pospos

The position of the player which can be either GK (Goal keeper), DF(defender), MF(Mid fielder) or FW(Forward)

Example
FW
Stringrequired
NameName

Name of player

Example
Kaká
Stringrequired
Otherother

Optional field that is used to mention caption, vice-captain, on-loan, etc.

Example
on-loan
Stringsuggested
Nono

The shirt number for the player, if they have one. If the player's number is not known, or unassigned, then you can use the – character instead.

Example
10
Numberrequired