Khác biệt giữa bản sửa đổi của “Bản mẫu:Lyrics”

Từ Touhou Wiki - Việt Nam
Bước tới điều hướng Bước tới tìm kiếm
n (Further fix)
n (fix)
Dòng 1: Dòng 1:
<table class="template_lyrics outcell" style="width: 100%">
<includeonly><table class="template_lyrics outcell" style="width: 100%">
     <tr>
     <tr>
         <th colspan="{{#switch: {{{type}}}| #default =3| vi =2}}" class="incell_top" style="font-weight: normal;">'''{{#if: {{{titletrans|}}}|{{{titletrans}}}|{{{title}}}}}''' {{#if: {{{group|}}} |&nbsp;by&nbsp;{{{group}}}}}</th>
         <th colspan="{{#switch: {{{type}}}| #default =3| vi =2}}" class="incell_top" style="font-weight: normal;">'''{{#if: {{{titletrans|}}}|{{{titletrans}}}|{{{title}}}}}''' {{#if: {{{group|}}} |&nbsp;by&nbsp;{{{group}}}}}</th>

Phiên bản lúc 13:08, ngày 10 tháng 5 năm 2018

Hình tượng tài liệu Tài liệu bản mẫu[xem] [sửa] [lịch sử] [làm tươi]

WARNING: This is an outdated doc, please refer to actual coding and rewrite the doc, thanks

This template should be used in articles containing song lyrics.

NOTE: If there is a conflict between two different songs with same titles, please act according to the guidelines.

Usage

Very short description of each parameter. See below for more detailed information. Be sure to check examples first.

{{Lyrics
| group         =Circle's name, use wikilinks if appropriate
| title         =Japanese title
| titletrans    =Vietnamese (possibly translated) title
| length        =length of the song
| arranger      =Song's arrangers
| lyricist      =Song's lyricists
| vocalist      =Song's vocalists
| other_staff   =If above parameters are not applicable, use this parameter to add such as Violinist or Guitarist
| source        =The original song(s) title(s) and source(s). See below for info
| untranscribed =Include this parameter if the lyrics are untranscribed (otherwise remove it)
| unromanized   =Include this parameter if the lyrics are unromanized (otherwise remove it)
| untranslated  =Include this parameter if the lyrics are untranslated (otherwise remove it)
| notes         =Notes added at the bottom of the page
| extra_info    =Any additional info about the song that should be included
}}

Parameters

group
The name of the group.
titlejp
Japanese title of the song, if it contains Japanese words. If not, leave empty and use titleen instead. The template requires titleen and/or titlejp (i.e. at least one) to be defined.
titlerom
Romanization of Japanese title, if applicable.
titleen
English translation of title, if original title is Japanese. If the title is English, it goes here. The template requires titleen and/or titlejp (i.e. at least one) to be defined.
length
Length of the song written using MM:SS format
arranger
lyricist
vocalist
These fields are for names of people who contributed to this song. If there should be several people included in one field, separate them with commas.
other_staff
If there are staff members that can't be classified by fields above, lay out definition list here. Format:
|other_staff=
* guitar: name
* moans: another name
...
source
The list of the original song tracks that the song is based on. (note: For the source game, use the appropriate title abbreviation templates). Format is the same as in Template:MusicArticle. You can just copy it over from the corresponding album article.
|source=
* original title: {{lang|ja|メイガスナイト}}
* source: {{FW}}
...
eng_only
Parameter used to determine whether the song's lyrics are only in english. If this parameter is set then the kanji and romaji columns are skipped. The parameter is set by giving it any value (typically "Y"). To unset it, leave it's value empty or remove it completely.
untranscribed
unromanized
untranslated
Parameters used to determine the categories of the article. If this parameter is set then the kanji and romaji columns are skipped. The parameters are set by giving them any value (typically "Y"). To unset each of them, leave it's value empty or remove it completely. If eng_only is set, the only parameter possible to set is untranscribed.
album1, album2 ...
A list of numbered parameters named using format album1, album2 and so forth (numbering must start with '1', no numbers can be skipped) that show which album(s) the song is featured in. They should be written using the LyricAlbum template, which uses the format {{LyricAlbum|album_name|image_name}} where album_name is the name of the album it appears in and image_name is the name of the file with the album's cover (if there isn't one available use {{LyricAlbum|album_name}}).
Example:
|album1={{LyricAlbum|東方悠幻奏|SFNC-0010.jpg}}
|album2={{LyricAlbum|Rebirth (Silver Forest)|SFNC-0012.jpg}}
kan1, kan2 ...
rom1, rom2 ...
eng1, eng2 ...
Lists of numbered parameters containing the actual text of the lyrics. The numbers next to parameters correspond to stanza numbers. 'kan' parameters should contain kanji, 'rom' - romaji, and 'eng' - the english text. The stanza numbers have to match for each of this lists (e.g. Bản mẫu:Para should match Bản mẫu:Para and Bản mẫu:Para). If the eng_only parameter is set the 'kan' and 'rom' parameters can be skipped. The order of parameters is irrelevant.
These parameters should not contain <br /> tags. Line arrangement will be the same as given in the text assigned to the parameter (i.e. line breaks will be kept).
IMPORTANT: Every parameter should be defined (i.e. it has to be explicitly written (e.g. Bản mẫu:Para), though it's value can be empty) for every stanza (e.g. if the last stanza number is 7 and eng_only is unset Bản mẫu:Para to Bản mẫu:Para as well as Bản mẫu:Para to Bản mẫu:Para and Bản mẫu:Para to Bản mẫu:Para must be written in the template). Numbering must start with '1' and no numbers can be skipped. If the eng_only parameter is set, this only applies to the 'eng' parameters.
notes
Any notes and additional information concerning the song's lyrics should be put here. It is also the proper place for references.
extra_info
If you would like to add some other kind of description between the header row and the lyrics, use this parameter.

See also