Template:Info: Difference between revisions
From EunuchWiki
Wikipedia:Redirects for discussion/Log/2019 November 29#Template:Info closed as no consensus |
imported>GirlOnInternet Reverted edits by Gravity Energy Storage (talk) to last revision by CrackRabbit |
||
Line 1: | Line 1: | ||
# | <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. | |||
{{ | ==Syntax== | ||
{{ | '''<nowiki>{{ info | text }}</nowiki>''' | ||
{{ | #'''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 }}
- 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. |