Template:C infobox/doc: Difference between revisions
(Created page with "{{Documentation subpage}} This template is a veriation of the {{tl|c}} template and is to be used only for the creator and company enteries in Infoboxes. If you find the Kanji is splitting between multiple lines then please use the second option to have the template insert a {{tag|br|e}} tag in the proper place. A {{tag|br|e}} tag may be included in the name but please try to avoid it as much a possible. == Usages == * {{tji|c infobox|Name in Romanji|Name in Kanji}}...") |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
This template is a | This template is a variation of the {{tl|c}} template and is to be used only for the creator and company enteries in Infoboxes. If you find the Kanji is splitting between multiple lines then please use the second option to have the template insert a {{tag|br|e}} tag in the proper place. A {{tag|br|e}} tag may be included in the name but please try to avoid it as much a possible. | ||
== Usages == | == Usages == | ||
* {{tji|c infobox|Name in | * {{tji|c infobox|Name in Romaji|Name in Kanji}} | ||
* {{tji|c infobox|Name in | * {{tji|c infobox|Name in Romaji|Name in Kanji|br: yes}} | ||
== Examples == | == Examples == | ||
Line 27: | Line 27: | ||
"params": { | "params": { | ||
"1": { | "1": { | ||
"label": "Name in | "label": "Name in Romaji", | ||
"description": "The creator or company name in | "description": "The creator or company name in Romaji", | ||
"type": "string", | "type": "string", | ||
"example":"Enzou", | "example":"Enzou", | ||
Line 42: | Line 42: | ||
"3": { | "3": { | ||
"label": "Line Break", | "label": "Line Break", | ||
"description": "To insert a break between the Name in | "description": "To insert a break between the Name in Romaji and Name in Kanji.", | ||
"type": "string", | "type": "string", | ||
"suggestedvalues": [ "yes", "y" ], | "suggestedvalues": [ "yes", "y" ], |
Revision as of 19:08, 24 June 2023
It contains usage information, categories and other content that is not part of the original template page.
|
This template is a variation of the {{c}} template and is to be used only for the creator and company enteries in Infoboxes. If you find the Kanji is splitting between multiple lines then please use the second option 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.
Usages
- {{c infobox
|Name in Romaji |Name in Kanji}}
- {{c infobox
|Name in Romaji |Name in Kanji |br=yes}}
Examples
{{c infobox|Marine Entertainment|マリン・エンタテインメント|br=yes}}
→ Marine Entertainment
(マリン・エンタテインメント)
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 Romaji
{{c infobox|Marine Entertainment|br=yes}}
→ Marine Entertainment
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 | 2 | The creator or company name in Kanji
| String | required |
Line Break | 3 br | To insert a break between the Name in Romaji and Name in Kanji.
| String | optional |