Notice: We are aware that many of the Chewiki’s images are still broken. We promise: we will try our best to fix it, but we don't guarantee that the fix will be trivial.
Difference between revisions of "Template:Poopquote"
(Removing the divider, as I feel the template looks better without it.) |
|||
(22 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>:{| border="0" cellpadding="0" padding="0" margin="0" | <includeonly>:{| border="0" cellpadding="0" padding="0" margin="0" | ||
|-valign="top" | |-valign="top" | ||
− | |width="42px"|[[Image:q{{{1}}}.jpg|{{{1}}}| | + | |width="42px"|[[Image:{{ #ifeq: {{{q}}} | no | | q }}{{{1}}}.{{ #if: {{{file|}}} | {{ lc: {{{file}}} }} | jpg }} | {{{1}}} | {{ #if: {{{size|}}} | {{{size}}} |40}}px]] |
− | |width=""|<small>'' | + | |width=""|<small>'''{{{1}}}'''</small> |
'''{{{2}}}''' | '''{{{2}}}''' | ||
− | |}</includeonly><noinclude> | + | |}<font size=1>{{#if:{{{source|}}}|''-{{{source}}}''}}</div></font></includeonly><noinclude> |
==Usage== | ==Usage== | ||
Displays an line correctly formatted single line with picture, created specifically for character based quotes. | Displays an line correctly formatted single line with picture, created specifically for character based quotes. | ||
− | <nowiki> | + | '''<nowiki> |
{{poopquote|NAME OF CHARACTER HERE|QUOTE HERE}} | {{poopquote|NAME OF CHARACTER HERE|QUOTE HERE}} | ||
− | </nowiki> | + | </nowiki>''' |
Images are pulled based upon the syntax "Q(Character name).jpg". By default, these are not avalible unless already uploaded. By clicking the placeholder text, you can upload an image for the character right away. | Images are pulled based upon the syntax "Q(Character name).jpg". By default, these are not avalible unless already uploaded. By clicking the placeholder text, you can upload an image for the character right away. | ||
Line 17: | Line 17: | ||
[[Image:qMario.jpg|{{{1}}}|40px]] [[Image:qLuigi.jpg|{{{1}}}|40px]] [[Image:qBowser.jpg|{{{1}}}|40px]] [[Image:qCutman.jpg|{{{1}}}|40px]] | [[Image:qMario.jpg|{{{1}}}|40px]] [[Image:qLuigi.jpg|{{{1}}}|40px]] [[Image:qBowser.jpg|{{{1}}}|40px]] [[Image:qCutman.jpg|{{{1}}}|40px]] | ||
+ | |||
+ | If your file is in a format other than jpg (like png or gif) use: <br /> | ||
+ | '''<nowiki>{{poopquote|file=png|NAME OF CHARACTER HERE|QUOTE HERE}}</nowiki>'''<br /> | ||
+ | or<br /> | ||
+ | '''<nowiki>{{poopquote|file=gif|NAME OF CHARACTER HERE|QUOTE HERE}}</nowiki>''' | ||
I recommend adding a 1px black border before export. | I recommend adding a 1px black border before export. | ||
Line 23: | Line 28: | ||
Developed by [[The Electric Cheese]] | Developed by [[The Electric Cheese]] | ||
− | |||
− | |||
− | |||
==Example== | ==Example== |
Latest revision as of 19:11, 23 November 2019
Usage
Displays an line correctly formatted single line with picture, created specifically for character based quotes.
{{poopquote|NAME OF CHARACTER HERE|QUOTE HERE}}
Images are pulled based upon the syntax "Q(Character name).jpg". By default, these are not avalible unless already uploaded. By clicking the placeholder text, you can upload an image for the character right away.
The template is designed for a 40x40px icon, such as these...
If your file is in a format other than jpg (like png or gif) use:
{{poopquote|file=png|NAME OF CHARACTER HERE|QUOTE HERE}}
or
{{poopquote|file=gif|NAME OF CHARACTER HERE|QUOTE HERE}}
I recommend adding a 1px black border before export.
I hope this function will encourage the expansion of the characters section.
Developed by The Electric Cheese