Template:Feature/doc: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
(Created page with "'''{{tlx|{{PAGENAME}}}}''' is a template that lets you enter a title, picture and lead paragraph so that they all can be formatted uniformly on a page in the transmat [[namesp...")
 
No edit summary
Line 5: Line 5:
{{feature
{{feature
|title = title of article
|title = title of article
|image = image name (just the name.  No [['''file''': before or '''.jpg''' after)
|image = image name (Just the name.  No [[brackets]]. No File: before. No .jpg after.)
|lead = lead paragraph
|lead = lead paragraph
}}
}}
Line 11: Line 11:
Though it makes it somewhat easier to read if you break each variable onto its own line, it is useful to collapse the entire template onto one line.  So, for example:
Though it makes it somewhat easier to read if you break each variable onto its own line, it is useful to collapse the entire template onto one line.  So, for example:
<pre>
<pre>
{feature|title=William Hartnell|image=HartnellHeadOn|lead='''William Hartnell''' was the first actor to play [[the Doctor]].}}</pre>  
{feature|title=William Hartnell|image=HartnellHeadOn|lead='''William Hartnell''' was the first actor to play [[the Doctor]]. An actor who had a considerable number of roles that brought him public attention, it was his work on ''Doctor Who'' that undoubtedly gave him his greatest national exposure in Britain.}}</pre>  


A barebones version for cutting and pasting in to articles is as follows:
A barebones version for cutting and pasting in to articles is as follows:

Revision as of 02:21, 5 October 2013

{{Feature/doc}} is a template that lets you enter a title, picture and lead paragraph so that they all can be formatted uniformly on a page in the transmat namespace.

Usage is straightforward.

{{feature
|title = title of article
|image = image name (Just the name.  No [[brackets]]. No File: before. No .jpg after.)
|lead = lead paragraph
}}

Though it makes it somewhat easier to read if you break each variable onto its own line, it is useful to collapse the entire template onto one line. So, for example:

{feature|title=William Hartnell|image=HartnellHeadOn|lead='''William Hartnell''' was the first actor to play [[the Doctor]]. An actor who had a considerable number of roles that brought him public attention, it was his work on ''Doctor Who'' that undoubtedly gave him his greatest national exposure in Britain.}}

A barebones version for cutting and pasting in to articles is as follows:

{{feature|title=|image=|lead=}}