This wiki is closed in favour of the new wiki. Information shown is likely to be very out of date. |
Difference between revisions of "Template:Notable people"
From Discovery Wiki
Jump to navigationJump to searchRogueCharlie (talk | contribs) (→Usage) |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude><!--</noinclude> | <noinclude><!--</noinclude> | ||
− | <div id="notablepeopleentry" style="background-color:transparent; width:85%; height: {{{4}}}px; border: 1px solid #dddddd; padding: 2px; margin: 2px 30px">[[Image:{{{1}}}|left|border]]<big>'''{{{2}}}'''</big><br/>{{{3}}}</div> | + | {{#if:{{{4|}}}|<div id="notablepeopleentry" style="background-color:transparent; width:85%; height: {{{4}}}px; border: 1px solid #dddddd; padding: 2px; margin: 2px 30px">[[Image:{{{1}}}|left|border|{{#expr:{{{4}}}-1}}px]]<big>'''{{{2}}}'''</big><br/>{{{3}}}</div>|<div id="notablepeopleentry" style="background-color:transparent; width:85%; border: 1px solid #dddddd; padding: 2px; margin: 2px 30px">[[Image:{{{1}}}|left|border]]<big>'''{{{2}}}'''</big><br/>{{{3}}}</div>}} |
− | <noinclude> | + | <noinclude>--> |
− | --> | + | |
==Usage== | ==Usage== | ||
<nowiki> | <nowiki> | ||
Line 13: | Line 13: | ||
* The third variable contains the description that should be displayed. | * The third variable contains the description that should be displayed. | ||
* The fourth variable defines the box's height. It's value should be the image's height plus 1. | * The fourth variable defines the box's height. It's value should be the image's height plus 1. | ||
+ | * The fourth variable now defines image size, when used. (variable - 1 = image size) [[RogueCharlie| ~RogueCharlie~ ]] <sup>([[User_talk:RogueCharlie|Blabs]] • [[Special:Contributions/RogueCharlie|Ego]]) </sup> | ||
I'm currently trying to get this template to automatically use certain values if a variable is not filled in; if you have an idea on how to do it, contact me - [[User:Nathrael|Nathrael]] - on Skype or leave me a message on my [[User talk:Nathrael|talk page]]. | I'm currently trying to get this template to automatically use certain values if a variable is not filled in; if you have an idea on how to do it, contact me - [[User:Nathrael|Nathrael]] - on Skype or leave me a message on my [[User talk:Nathrael|talk page]]. | ||
+ | |||
==Result== | ==Result== | ||
{{Notable people|junicharimage1.jpg|[[Jun'ko Zane]]|A young ex-LSF commander of Kusarian birth which played a important role in the [[Nomad War]].|76}} | {{Notable people|junicharimage1.jpg|[[Jun'ko Zane]]|A young ex-LSF commander of Kusarian birth which played a important role in the [[Nomad War]].|76}} | ||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 00:56, 31 May 2012
Usage
{{Notable people|junicharimage1.jpg|[[Jun'ko Zane]]|A young ex-LSF commander of Kusarian birth which played a important role in the [[Nomad War]].|76}}
- Notable people initiates template processing.
- junicharimage1.jpg declares the image the template should display on the left; pictures should be 75x75px in size, but larger images may be used - just don't forget modify the height value accordingly. If you don't have a picture, use UnknownSmall.gif.
- [[Jun'ko Zane]] declares the title the template should display.
- The third variable contains the description that should be displayed.
- The fourth variable defines the box's height. It's value should be the image's height plus 1.
- The fourth variable now defines image size, when used. (variable - 1 = image size) ~RogueCharlie~ (Blabs • Ego)
I'm currently trying to get this template to automatically use certain values if a variable is not filled in; if you have an idea on how to do it, contact me - Nathrael - on Skype or leave me a message on my talk page.
Result
Jun'ko Zane
A young ex-LSF commander of Kusarian birth which played a important role in the Nomad War.
A young ex-LSF commander of Kusarian birth which played a important role in the Nomad War.