Template:C infobox: Difference between revisions
(Created page with "<includeonly>{{ #if:{{{3|{{{br|}}}}}} | {{ #if: {{{1|{{{romanji|}}}}}}|[[:Category:{{{1|{{{romanji|}}}}}}|{{{1|{{{romanji|}}}}}}<br />{{ #if: {{{2|{{{kanji|}}}}}}|({{{2|{{{kanji|}}}}}})| {{error|Missing name in Kanji}} }}]]| {{error|Missing name in Romanji}} }} | {{ #if: {{{1|{{{romanji|}}}}}}|[[:Category:{{{1|{{{romanji|}}}}}}|{{{1|{{{romanji|}}}}}} {{ #if: {{{2|{{{kanji|}}}}}}|({{{2|{{{kanji|}}}}}})| {{error|Missing name in Kanji}} }}]]| {{error|Missing name in Rom...") |
m (Protected "Template:C infobox" ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite))) |
(No difference)
|
Revision as of 21:41, 20 June 2023
This template is a variation of the {{c}} template and is to be used only for the creator and company enteries in Infoboxes. If the Kanji is splitting between multiple lines then please use the |br=
to have the template insert a <br />
tag in the proper place. A <br />
tag may be included in the name but please try to avoid it as much a possible. This template can also handle when the Category name text needs to be altered for whatever reason by including the Alternate Name in the second parameter.
Usages
- {{C infobox
|Name in Romaji |Name in Kanji}}
- {{C infobox
|Name in Romaji |Name in Kanji |br=yes}}
- {{C infobox
|Name in Romaji |Alteration of Name |Name in Kanji}}
Examples
{{C infobox|Enzou|エンゾウ}}
→ Enzou (エンゾウ)
{{C infobox|Libre|Libre Shuppan|リブレ出版}}
→ Libre
(Libre Shuppan)
You will get an error message if you forget to include either the Romanji or Kanji. If the person or company name is written in Romanji only then please use the {{C}} template instead.
{{c infobox||エンゾウ}}
→ Missing name in Romanji
{{c infobox|Enzou|}}
→ Enzou Missing name in Kanji
TemplateData
To format the creator and company enteries in infoboxes.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name in Romaji | 1 | The creator or company name in Romaji
| String | required |
Name in Kanji/Alternate Name | 2 | The creator or company name in Kanji, unless the Category text needs to be changed.
| String | required |
Name in Kanji | 3 | If the creator or company names needs alternate category name text then the Kanji name will go here.
| String | optional |
Line Break | br | To insert a break between the Name in Romaji and Name in Kanji.
| String | optional |