Difference between revisions of "Template:Postit"
From Game Logs
m |
(Added user manual.) |
||
(2 intermediate revisions 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|100%}}}; |
text-decoration:none; | text-decoration:none; | ||
color:#000; | color:#000; | ||
− | background:#ffc; | + | background:{{{Background|#ffc}}}; |
display:block; | display:block; | ||
− | height: | + | height:{{{Height|5em}}}; |
− | width: | + | width:{{{Width|5em}}}; |
− | padding: | + | padding:0.5em; |
overflow:hidden; | overflow:hidden; | ||
float:right; | float:right; | ||
/* Firefox */ | /* Firefox */ | ||
-moz-box-shadow:5px 5px 7px rgba(33,33,33,1); | -moz-box-shadow:5px 5px 7px rgba(33,33,33,1); | ||
− | -moz-transform:rotate({{{Angle}}}deg); | + | -moz-transform:rotate({{{Angle|0}}}deg); |
/* Safari+Chrome */ | /* Safari+Chrome */ | ||
-webkit-box-shadow: 5px 5px 7px rgba(33,33,33,.7); | -webkit-box-shadow: 5px 5px 7px rgba(33,33,33,.7); | ||
− | -webkit-transform:rotate({{{Angle}}}deg); | + | -webkit-transform:rotate({{{Angle|0}}}deg); |
/* Opera */ | /* Opera */ | ||
box-shadow: 5px 5px 7px rgba(33,33,33,.7); | box-shadow: 5px 5px 7px rgba(33,33,33,.7); | ||
− | -o-transform:rotate({{{Angle}}}deg); | + | -o-transform:rotate({{{Angle|0}}}deg); |
">{{{Text}}}</div></includeonly><noinclude> | ">{{{Text}}}</div></includeonly><noinclude> | ||
[[Category:Appearance]] | [[Category:Appearance]] | ||
− | Post-it style note. | + | Post-it style note.<br> |
− | <nowiki>{{Postit|Text=id: Urman<br>pw: | + | Usage: |
− | {{Postit|Text=id: Urman<br>pw: | + | <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> | ||
+ | {{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></ul>| | + | <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></ul>| | + | {{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}}