Template:Info: Difference between revisions

From EunuchWiki
imported>GirlOnInternet
Reverted edits by Gravity Energy Storage (talk) to last revision by CrackRabbit
m 1 revision imported
Line 1: Line 1:
<includeonly>{| style="background: #F8F8FF; border: 2px solid #8888AA; width: 50%; margin: 5px auto; border-radius: 10px;"
#REDIRECT [[Template:Notice]]
|width="1%" style="padding-right:1em;"|[[File:Information_icon.png|40px]]
|{{{text|{{{1}}}}}}
|}
</includeonly><noinclude>
Makes a nice infobox with your text.


==Syntax==
{{Redirect category shell|
'''<nowiki>{{ info | text }}</nowiki>'''
{{R from alternative name}}
#'''text''' - your text (duh)
{{R from template shortcut}}
'''''Note''''': remember to remove all whitespaces (except for the ones in your text) and put everything in one long line, otherwise it might get broken.
}}
==Example==
<nowiki>{{info|This statement is false.}}</nowiki>
produces:
{{info|This statement is false.}}
<br />
[[Category:Notice Templates|{{PAGENAME}}]]</noinclude>

Revision as of 19:44, 31 March 2024

Redirect to: