Difference between revisions of "Template:Infobox/Yu-Gi-Oh!/Storyline"

From Yugipedia
Jump to: navigation, search
(Template:Infobox/Yu-Gi-Oh!/Storyline moved to Template:Infobox/Yu-Gi-Oh!/Storyline/Start: Needs seperate sub-boxes for anime and manga.)
 
(clean up spacing)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
#REDIRECT [[Template:Infobox/Yu-Gi-Oh!/Storyline/Start]]
+
<noinclude>
 +
==Required Parts==
 +
==={{Tlx|{{PAGENAME}}/Start}}===
 +
<pre>{{Infobox/Character/Start
 +
| title              =
 +
| english            =
 +
| kanji              =
 +
| romaji              =
 +
| japanese translated =
 +
| other              =
 +
| image name          =
 +
| image size          =
 +
| image caption      =
 +
| image              =
 +
| float              =
 +
| ref                =
 +
}}</pre>
 +
This tempate starts the infobox. There are a few parameters which can be passed.
 +
*'''title''': Changing this parameter will change what text is displayed at the top as the name of the storyline. By default the pagename will appear there.
 +
*'''english''': You may enter the English name of the storyline under this parameter.
 +
*'''kanji''': You may enter the Japanese Kanji name of the storyline under this parameter.
 +
*'''romaji''': You may enter the Japanese Romaji name of the storyline under this parameter.
 +
*'''other''': If there is anything other names that need noting, you can use this parameter for that.
 +
*'''image name''': Placing the filename (Without Image: at the start) of an image in this parameter will display that image in a section of the Infobox.
 +
*'''image size''': The default size of the image is 300px so normally you should use images which are larger than that, but if the sizing does not work for the image then you can alter what the sizing ends up as.
 +
*'''image caption''': The caption of the image can be altered.
 +
*'''image''': If you did not enter a ''image name'' this parameter adds content to the image section, it's used mostly in cases where you may have a collection of images and you want all of them to be displayed.
 +
*'''float''': Setting this to left or right will cause the infobox to float to a side of the page to allow text to wrap around, using ''none'' will make it act normally, the default is a right float.
 +
*'''ref''': The references used with the <nowiki><ref></ref></nowiki> may be placed here.
 +
 
 +
==={{Tlx|{{PAGENAME}}/End}}===
 +
<pre>{{Infobox/Character/End}}</pre>
 +
This template ends the entire infobox.
 +
 
 +
==Sub-Boxes==
 +
<DPL>
 +
debug          = 1
 +
namespace      = Template
 +
category      = Templates/Infobox/Yu-Gi-Oh!/Storyline
 +
notcategory    = Templates/Infobox/Series Specific
 +
titlematch    = Infobox/Yu-Gi-Oh!/Storyline/%
 +
nottitlematch  = Infobox/Yu-Gi-Oh!/Storyline/Start|Infobox/Yu-Gi-Oh!/Storyline/End
 +
mode          = userformat
 +
includepage    = {Infobox/Hook}.list
 +
listseparators = ,* {{Tlx|%TITLE%}},\n,
 +
</DPL>
 +
 
 +
[[Category:Templates/Infobox|{{SUBPAGENAME}}]]
 +
[[Category:Templates/Infobox/Yu-Gi-Oh!|{{SUBPAGENAME}}]]
 +
[[Category:Templates/Infobox/Yu-Gi-Oh!/Storyline| ]]</noinclude>

Latest revision as of 15:35, 7 June 2019

Required Parts[edit]

{{Infobox/Yu-Gi-Oh!/Storyline/Start}}[edit]

{{Infobox/Character/Start
| title               = 
| english             = 
| kanji               = 
| romaji              = 
| japanese translated = 
| other               = 
| image name          = 
| image size          = 
| image caption       = 
| image               = 
| float               = 
| ref                 = 
}}

This tempate starts the infobox. There are a few parameters which can be passed.

  • title: Changing this parameter will change what text is displayed at the top as the name of the storyline. By default the pagename will appear there.
  • english: You may enter the English name of the storyline under this parameter.
  • kanji: You may enter the Japanese Kanji name of the storyline under this parameter.
  • romaji: You may enter the Japanese Romaji name of the storyline under this parameter.
  • other: If there is anything other names that need noting, you can use this parameter for that.
  • image name: Placing the filename (Without Image: at the start) of an image in this parameter will display that image in a section of the Infobox.
  • image size: The default size of the image is 300px so normally you should use images which are larger than that, but if the sizing does not work for the image then you can alter what the sizing ends up as.
  • image caption: The caption of the image can be altered.
  • image: If you did not enter a image name this parameter adds content to the image section, it's used mostly in cases where you may have a collection of images and you want all of them to be displayed.
  • float: Setting this to left or right will cause the infobox to float to a side of the page to allow text to wrap around, using none will make it act normally, the default is a right float.
  • ref: The references used with the <ref></ref> may be placed here.

{{Infobox/Yu-Gi-Oh!/Storyline/End}}[edit]

{{Infobox/Character/End}}

This template ends the entire infobox.

Sub-Boxes[edit]