Difference between revisions of "Template:Postit"
From Game Logs
(Added some more parameters and defaults.) |
(Added user manual.) |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly><div class="postit" style=" | <includeonly><div class="postit" style=" | ||
font-family:'Caveat',cursive,sans-serif; | font-family:'Caveat',cursive,sans-serif; | ||
| − | font-size:{{{Font-size| | + | font-size:{{{Font-size|100%}}}; |
text-decoration:none; | text-decoration:none; | ||
color:#000; | color:#000; | ||
| Line 8: | Line 8: | ||
height:{{{Height|5em}}}; | height:{{{Height|5em}}}; | ||
width:{{{Width|5em}}}; | width:{{{Width|5em}}}; | ||
| − | padding: | + | padding:0.5em; |
overflow:hidden; | overflow:hidden; | ||
float:right; | float:right; | ||
| Line 22: | Line 22: | ||
">{{{Text}}}</div></includeonly><noinclude> | ">{{{Text}}}</div></includeonly><noinclude> | ||
[[Category:Appearance]] | [[Category:Appearance]] | ||
| − | Post-it style note. | + | Post-it style note.<br> |
| + | Usage: | ||
| + | <nowiki> | ||
| + | {{Postit | ||
| + | |Text=your text goes in there | ||
| + | |Font-size=size of font (default: 100%) | ||
| + | |Background=bacground color (#ffc) | ||
| + | |Height=height of sticker (5em) | ||
| + | |Width=width of sticker (5em) | ||
| + | |Angle=rotation in degrees | ||
| + | }} | ||
| + | </nowiki> | ||
| + | Examples: | ||
<nowiki>{{Postit|Text=id: Urman<br>pw: 12345|Angle=-10}}</nowiki> | <nowiki>{{Postit|Text=id: Urman<br>pw: 12345|Angle=-10}}</nowiki> | ||
{{Postit|Text=id: Urman<br>pw: 12345|Angle=-10}} | {{Postit|Text=id: Urman<br>pw: 12345|Angle=-10}} | ||
<br><br><br> | <br><br><br> | ||
| − | <nowiki>{{Postit|Text=Купить:<ul><li>верёвку</li><li>крюк</li><li>факелы</li><li>кирку</li><li>лопату</li><li>мелки</li><li>бинты</li><li>карту</li></ul>|Font-size= | + | <nowiki>{{Postit|Text=Купить:<ul><li>верёвку</li><li>крюк</li><li>факелы</li><li>кирку</li><li>лопату</li><li>мелки</li><li>бинты</li><li>карту</li></ul>|Font-size=120%|Background=#fcc|Height=100%|Width=7em}}</nowiki> |
| − | {{Postit|Text=Купить:<ul><li>верёвку</li><li>крюк</li><li>факелы</li><li>кирку</li><li>лопату</li><li>мелки</li><li>бинты</li><li>карту</li></ul>|Font-size= | + | {{Postit|Text=Купить:<ul><li>верёвку</li><li>крюк</li><li>факелы</li><li>кирку</li><li>лопату</li><li>мелки</li><li>бинты</li><li>карту</li></ul>|Font-size=120%|Background=#fcc|Height=100%|Width=7em}} |
</noinclude> | </noinclude> | ||
Latest revision as of 13:34, 22 April 2019
Post-it style note.
Usage:
{{Postit
|Text=your text goes in there
|Font-size=size of font (default: 100%)
|Background=bacground color (#ffc)
|Height=height of sticker (5em)
|Width=width of sticker (5em)
|Angle=rotation in degrees
}}
Examples:
{{Postit|Text=id: Urman<br>pw: 12345|Angle=-10}}
{{Postit|Text=Купить:<ul><li>верёвку</li><li>крюк</li><li>факелы</li><li>кирку</li><li>лопату</li><li>мелки</li><li>бинты</li><li>карту</li></ul>|Font-size=120%|Background=#fcc|Height=100%|Width=7em}}