Template:Shout/doc

From Moegirlpedia
Jump to: navigation, search

Parameter introduction

  • text: text content. Required parameter.
  • leftimage: the picture on the left. The default value is File:Emo わいのわいの.png. Both internal pictures and external pictures are acceptable. Remember to limit the image size to within 100px! Otherwise, Update Ji will grab the picture in this template as the entry picture.
  • colorband: The ribbon on the left, the default value is pink. You can use the color in English, or you can use the code (for example, *FF00FF is purple)
  • font-size: Define the font size of all text in the template. You can customize the font size with px or em. Leave it blank, the default size (14px). Each label corresponds to +2px; minus 2px
  • text-style: Customize other font attributes of all text in the template.[1]

Bold: Make the sentence Don't say anything about the entry, first shout together: bold. When the text following |bold= is one of 1, T, true, Y, yes, this parameter is successfully used (for example, |Bold=1).

{{Shout|text=|1=|color=|font-size=|bold=|text-style=}}

※Note: The order of the parameters does not matter.

Example usage

Simple usage

{{shout|<big><big>I like Konata-chan a lot!</big></big>}}


Emo わいのわいの.png
Don't say anything about this article, first, let's shout together: I like Konata-chan a lot!
  • Note: When only "text" has no other parameters, "text=" can be omitted. That is, the above example is exactly the same as the following:
{{shout|text=<big><big>I like Konata-chan a lot!</big></big>}}

leftimage + color + bold + font-size

{{shout|text=Hinnyu are rare and valuable!|leftimage=[[File:Izumi_Konata_Hinnyuu.jpg|99px]]color=blue|bold=1|font-size=16px}}


Izumi Konata Hinnyuu.jpg
Don't say anything about this article, first, let's shout together: Hinnyu are rare and valuable!
  • Note: font-size=16px means that the full text comes with a big tag.

text-style

{{shout|text = Moegirlpedia, an encyclopedia where everything is moe!|leftimage=[[File:Moegirl_is_watching_you.jpg|80px]]|color=green|text-style= color:green; font-family:\6977\4F53; font-style:italic; font-weight:bold; font-size:20px;}}


Moegirl is watching you.jpg
Don't say anything about this article, first, let's shout together: Moegirlpedia, an encyclopedia where everything is moe!
  • Note 1: Using the text-style parameter is suitable for more skilled editing of CSS.
  • Note 2: The various attributes used in the above example are: green (color:green;), italic (font-family:\6977\4F53;), italic (font-style: italic;), bold (font-weight:bold;), 20px size font (font-size:20px;). See the external links below for other text-style attributes.
  • Note 3: The font size attribute in text-style has exactly the same effect as using font-size=.

Notes