Template:Example/doc
This template can also be edited pagewise to make quick and dirty templates without having to manually create a new template. make sure your using source edit when doing this. you can quickly switch between to source edit without losing your progress in visual edit by hitting the pen on the top right then source edit
Anyways for example:
{{example |color=red |image=[[File:Warning_1_transparent.png|64px]] |topText=This is a cool example |subText=This is also really cool }}
would make
![]() |
This is a cool example |
|
This is also really cool |
here are the arguments for making a quick and dirty template
Required Args:
image : image of the template
topText: top text of the template
subText: subText of the template
Optional Args:
color : color of the template
border: border color of the template
width: width of the template
height: height of the template
Heres an example command
{{example |color=COLORHERE |image=[[File:IMAGEHERE|SIZEHEREpx]] |topText=TOPTEXTHERE |subText=SUBTEXTHERE }}
It can also support extra css shit like gradients.
{{example |color=linear-gradient(cyan, magenta) |image=[[File:Gemjak.png|64px]] |topText={{Blackoutlinetext|Woah, so cool!}} |subText={{Blackoutlinetext|Kino, even.}} |width=95% |border-size=1px |border=orange }}
would make
![]() |
Woah, so cool! |
|
Kino, even. |