Difference between revisions of "Template:PrecisImage"
m (default description = image name) |
(documented) |
||
Line 1: | Line 1: | ||
+ | <noinclude> | ||
+ | The '''PrecisImage''' template should be used to display an image in an article's precis. It helps ensure that the image style is consistent. | ||
+ | |||
+ | Here are some usage examples: | ||
+ | |||
+ | {| class="centeredCells" | ||
+ | |- | ||
+ | ! What you type !! What it looks like | ||
+ | |- | ||
+ | | <tt><nowiki>{{PrecisImage | img=MyImage.jpg | desc=This is my image}}</nowiki></tt><br/>(hover the mouse over image to see the <tt>desc</tt>ription) || {{PrecisImage | img=MyImage.jpg | desc=This is my image}} | ||
+ | |- | ||
+ | | <tt><nowiki>{{PrecisImage | img=MyImage.jpg | border=red}}</nowiki></tt> || {{PrecisImage | img=MyImage.jpg | border=red}} | ||
+ | |- | ||
+ | | <tt><nowiki>{{PrecisImage | img=MyImage.jpg | border=#08f}}</nowiki></tt> || {{PrecisImage | img=MyImage.jpg | border=#08f}} | ||
+ | |- | ||
+ | | <tt><nowiki>{{PrecisImage | img=MyImage.jpg | border=none}}</nowiki></tt> || {{PrecisImage | img=MyImage.jpg | border=none}} | ||
+ | |- | ||
+ | | <tt><nowiki>{{PrecisImage | img=MyImage.jpg | size=50px}}</nowiki></tt> || {{PrecisImage | img=MyImage.jpg | size=50px}} | ||
+ | |} | ||
+ | |||
+ | ==Usage notes== | ||
+ | The use of the '''desc''' parameter is highly '''encouraged''' - make it descriptive! | ||
+ | |||
+ | The use of the '''border''' and especially the '''size''' parameter is '''discouraged''' - only do so if you really need to! (Example of justified use of <tt>size</tt>: [[Ariane 5/precis]]; <tt>border</tt>: [[LEO-lunar_transfer/precis]]) | ||
+ | |||
+ | ==Precis== | ||
+ | A ''precis'' is a short introduction which can be randomly displayed on the Main Page to "advertise" the article. Here is an example of a random precis - if you reload this page (F5) you will see it change: | ||
+ | |||
+ | {| | ||
+ | |- | ||
+ | | {{OrbiterWiki:Random addon}} | ||
+ | |} | ||
+ | |||
+ | <!--================================================--> | ||
+ | <!--====Be careful when editing below this line=====--> | ||
+ | <!--================================================--> | ||
+ | <div style="display:none"> | ||
+ | </noinclude> | ||
<div style="float:left;margin-right:0.9em;border:1px solid {{{border|black}}}"> | <div style="float:left;margin-right:0.9em;border:1px solid {{{border|black}}}"> | ||
[[Image:{{{img}}}|none|{{{size|100px}}}|{{{desc|{{{img}}}}}}]] | [[Image:{{{img}}}|none|{{{size|100px}}}|{{{desc|{{{img}}}}}}]] | ||
</div> | </div> | ||
+ | <noinclude> | ||
+ | </div> | ||
+ | </noinclude> |
Latest revision as of 12:09, 14 February 2008
The PrecisImage template should be used to display an image in an article's precis. It helps ensure that the image style is consistent.
Here are some usage examples:
What you type | What it looks like |
---|---|
{{PrecisImage | img=MyImage.jpg | desc=This is my image}} (hover the mouse over image to see the description) |
|
{{PrecisImage | img=MyImage.jpg | border=red}} | |
{{PrecisImage | img=MyImage.jpg | border=#08f}} | |
{{PrecisImage | img=MyImage.jpg | border=none}} | |
{{PrecisImage | img=MyImage.jpg | size=50px}} |
Usage notes[edit]
The use of the desc parameter is highly encouraged - make it descriptive!
The use of the border and especially the size parameter is discouraged - only do so if you really need to! (Example of justified use of size: Ariane 5/precis; border: LEO-lunar_transfer/precis)
Precis[edit]
A precis is a short introduction which can be randomly displayed on the Main Page to "advertise" the article. Here is an example of a random precis - if you reload this page (F5) you will see it change:
The DeltaGliderIV is a vessel addon designed for Orbiter by Dansteph and succeeded by DeltaGliderIII. It features highly realistic and fully functional cockpit instruments, includes flight instruments along with controls for the life support system, electrical systems, and fuel systems. The DeltaGliderIV simulates a live crew which can be killed by incorrect cabin pressure, temperature or CO2 level. Unlike most vessels in Orbiter, the DeltaGliderIV is able to simulate damage due to overloads such as extreme G-forces or reentry temperature, damaging or destroying the vessel. Crew onboard a DeltaGliderIV are able to perform Extra-Vehicular Activities...(More...)
|