Template:B: Difference between revisions

From Medapedia
Jump to navigationJump to search
(Something to save typing later)
 
(Haha I'm terrible at simple coding. Also added alternate link text.)
 
Line 1: Line 1:
[[{{{1|}}}|<span style="color:black;">{{{1|}}}</span>]]</noinclude>
[[{{{1|}}}|<span style="color:black;">{{#if: {{{2|}}} | {{{2|}}} | {{{1|}}} }}</span>]]<noinclude>


== Description ==
== Description ==


This template can be used to make links appear with plain black text instead of the normal link colors. Useful on templates with colored backgrounds.
This template can be used to make links appear with plain black text instead of the normal link colors. Useful on templates with colored backgrounds.  


<nowiki>
Note that this can make it difficult to tell what's a link and what isn't, so it should be used sparingly.
To use, type {{b|Example link}} to get [[Example link]] to appear with black text.</nowiki>


This currently doesn't allow for alternate link text. (The text shown will match the link exactly.)
How to use:
*<nowiki>Type {{b|Example link}} to get [[Example link]] to appear with black text.</nowiki>
*<nowiki>For alternate link text, type {{b|Example link|Alternate text}}. This will appear the same as [[Example link|Alternate text]] except in black.</nowiki>


[[Category:Shortcut templates]]
[[Category:Shortcut templates]]
</noinclude>
</noinclude>

Latest revision as of 15:34, 6 March 2012

[[|]]

Description[edit]

This template can be used to make links appear with plain black text instead of the normal link colors. Useful on templates with colored backgrounds.

Note that this can make it difficult to tell what's a link and what isn't, so it should be used sparingly.

How to use:

  • Type {{b|Example link}} to get [[Example link]] to appear with black text.
  • For alternate link text, type {{b|Example link|Alternate text}}. This will appear the same as [[Example link|Alternate text]] except in black.