Template:First pic/doc: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
No edit summary
 
(One intermediate revision by one other user not shown)
Line 2: Line 2:


==When to use==
==When to use==
This template should only be used on pages that have one image, or on pages where an infobox is impracticable. '''The only proper context for this template is at the very top of a page.''' If a page has an infobox, please do '''not''' use this template. Generally speaking, [[T:THUMB]] applies to most images on this wiki.  That is, image sizes should '''not''' be defined at all.
This template should only be used on pages that have one image, or on pages where an infobox is impracticable. '''The only proper context for this template is at the very top of a page.'''  
{{first pic|DavisonWIthGlasses.jpg|The [[Fifth Doctor]] looking suave in his [[glasses]].}}
If a page has an infobox, please do '''not''' use this template. Generally speaking, [[T:THUMB]] applies to most images on this wiki.  That is, image sizes should '''not''' be defined at all.


==How to use==
==How to use==
{{first pic|DavisonWIthGlasses.jpg|The [[Fifth Doctor]] looking suave in his [[glasses]].}}
 
Usage is simple.  At the very top of the page type:
Usage is simple.  At the very top of the page type:
<pre>
<pre>
{{first pic|DavisonWIthGlasses.jpg|The [[Fifth Doctor]] looking suave in his [[glasses]].}}
{{first pic|DavisonWIthGlasses.jpg|The [[Fifth Doctor]] looking suave in his [[glasses]].}}
</pre>
</pre>
:which will give the image you see at right.
which will give the image you see on the right.




<noinclude>[[category:template documentation|{{PAGENAME}}]]</noinclude>
<noinclude>[[category:template documentation|{{PAGENAME}}]]</noinclude>

Latest revision as of 15:43, 6 June 2024

{{First pic/doc}} is a template that allows you to make the first image on a page the same size as an infobox image, without having to use an infobox.

When to use[[edit source]]

This template should only be used on pages that have one image, or on pages where an infobox is impracticable. The only proper context for this template is at the very top of a page.

The Fifth Doctor looking suave in his glasses.

If a page has an infobox, please do not use this template. Generally speaking, T:THUMB applies to most images on this wiki. That is, image sizes should not be defined at all.

How to use[[edit source]]

Usage is simple. At the very top of the page type:

{{first pic|DavisonWIthGlasses.jpg|The [[Fifth Doctor]] looking suave in his [[glasses]].}}

which will give the image you see on the right.