Template:C infobox/doc: Difference between revisions

From HIBIKIFORUM
Jump to navigation Jump to search
(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 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.
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 Romanji|Name in Kanji}}
* {{tji|c infobox|Name in Romaji|Name in Kanji}}


* {{tji|c infobox|Name in Romanji|Name in Kanji|br: yes}}
* {{tji|c infobox|Name in Romaji|Name in Kanji|br: yes}}


== Examples ==
== Examples ==
Line 27: Line 27:
"params": {
"params": {
"1": {
"1": {
"label": "Name in Romanji",
"label": "Name in Romaji",
"description": "The creator or company name in Romanji",
"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 Romanji and Name in Kanji.",
"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

Light bulb.png }}
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

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

TemplateData

To format the creator and company enteries in infoboxes.

Template parameters

ParameterDescriptionTypeStatus
Name in Romaji1

The creator or company name in Romaji

Example
Enzou
Stringrequired
Name in Kanji2

The creator or company name in Kanji

Example
エンゾウ
Stringrequired
Line Break3 br

To insert a break between the Name in Romaji and Name in Kanji.

Suggested values
yes y
Stringoptional