Template:Info: Difference between revisions

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


{{Redirect category shell|
==Syntax==
{{R from alternative name}}
'''<nowiki>{{ info | text }}</nowiki>'''
{{R from template shortcut}}
#'''text''' - your text (duh)
}}
'''''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 09:37, 11 July 2022

Makes a nice infobox with your text.

Syntax

{{ info | text }}
  1. text - your text (duh)

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

{{info|This statement is false.}}

produces:

File:Information icon.png This statement is false.