Template:Tbullet/doc: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Sardanaphalus
→‎Example: example
meta>Sardanaphalus
→‎Example: plural, formatting, added example featuring parameter
Line 4: Line 4:
Produces a bulleted item consisting of a link to a template followed by an example of its output. Up to six of the template's parameters may be supplied.
Produces a bulleted item consisting of a link to a template followed by an example of its output. Up to six of the template's parameters may be supplied.


===Example===
===Examples===
<pre>{{tbullet|Citation needed}}</pre> produces:
<code><nowiki>{{tbullet|Citation needed}}</nowiki></code> produces: {{tbullet|Citation needed}}
{{tbullet|Citation needed}}
<br/><code><nowiki>{{tbullet|Redirect|Something}}</nowiki></code> produces: {{tbullet|Redirect|Something}}
 
<br/>The parameters ''codesize'' and ''codestyle'' may be used, respectively, to amend the font-size of and/or add CSS styling to the {{tag|span}} tags surrounding the template link. For example,<br/>
The parameters ''codesize'' and ''codestyle'' may be used, respectively, to amend the font-size of and/or add CSS styling to the {{tag|span}} tags surrounding the template link.
<code><nowiki>{{tbullet|codesize=95%|Resolved mark large}}</code></nowiki> produces: {{tbullet|codesize=95%|Resolved mark large}}
<pre>{{tbullet|codesize=95%|Resolved mark large}}</pre>
{{tbullet|codesize=95%|Resolved mark large}}


===Known issues===
===Known issues===

Revision as of 08:51, 26 May 2014

Usage

Produces a bulleted item consisting of a link to a template followed by an example of its output. Up to six of the template's parameters may be supplied.

Examples

{{tbullet|Citation needed}} produces:


{{tbullet|Redirect|Something}} produces:

  • {{Redirect|Something}} → 


The parameters codesize and codestyle may be used, respectively, to amend the font-size of and/or add CSS styling to the <span>...</span> tags surrounding the template link. For example,
{{tbullet|codesize=95%|Resolved mark large}}</code> produces:

Known issues

Issues with improperly indented bullets may relate to:

See also