Difference between revisions of "Template:mpl/doc"

From WikiCorporates
Jump to navigation Jump to search
(Created page with "== Usage === A small template for in-text linking to Media - People '''in articles'''. It produces a link which has normal black text colour, but with a dotted underline. On h...")
 
m
Line 9: Line 9:
 
</pre>
 
</pre>
  
−
If the name of the person is the same as the desired text of the link, use just
+
Use thusly:
 
  <nowiki>{{mpl|name of person}}</nowiki>
 
  <nowiki>{{mpl|name of person}}</nowiki>
  
 
<includeonly>[[Category:WikiPolitiks templates]]</includeonly>
 
<includeonly>[[Category:WikiPolitiks templates]]</includeonly>

Revision as of 17:58, 23 March 2018

Usage =

A small template for in-text linking to Media - People in articles. It produces a link which has normal black text colour, but with a dotted underline. On hover, the text behaves like a normal link and turns blue.

The name mpl is derived from the first letters of "Media People Link".

Designed to be used within the Src template thus:

...|website=Politics.co.uk|name={{mpl|Jonathan Lis}}|url=...

Use thusly:

{{mpl|name of person}}