Difference between revisions of "Template:SolutionBox"

From Akvopedia
Jump to: navigation, search
(See also: removed random stuff)
 
(5 intermediate revisions by one other user not shown)
Line 1: Line 1:
{| class="infobox bordered" style="width: 25em; text-align: left; font-size: 90%;"
+
<includeonly><!--
|-
+
 
| colspan="2" style="text-align:center; font-size: large;" | '''{{{official_name}}}'''
+
--><table class="infobox solutions vcard" style="width: 23em;">
|-
+
<tr>
| colspan="2" style="text-align:center;" | [[Image:{{{image_picture}}}|300px| ]]<br>{{{image_caption}}}
+
<td colspan="2" align="center" style="width:100%; font-size: 1.25em; white-space: nowrap;">'''<span class="fn org">{{{official_name}}}</span>{{#if:{{{native_name|}}}|<br>{{{native_name}}}}}{{#if:{{{other_name|}}}|<br>{{{other_name}}}}}'''</td>
|-
+
</tr>
! Cost:
+
<!-- ***** Solution Image ***** -->
| {{{cost}}}
+
{{#if:{{{image_solution|}}}|
|-
+
<tr>
! Advantages:
+
<td colspan="2" style="text-align: center; padding: 0.7em 0.8em 0.7em 0.8em;;">
| {{{advantages|''this text displayed if data2 not defined''}}}
+
[[Image:{{{image_solution|}}}|{{#if:{{{imagesize|}}}|{{{imagesize}}}|250px}}|none|{{{image_caption|Picture of {{{official_name|}}}}}}]]{{#if:{{{image_caption|}}}|<small>{{{image_caption|}}}</small>}}
|-  
+
</td>
! Disadvantages:
+
</tr>
| {{{disadvantages|}}}
+
}}<!-- ***** Websites ***** -->
|-
+
{{#if:{{{website|}}}|
| colspan="2" style="font-size: smaller;" | {{{footnotes|}}}
+
<tr class="mergedtoprow">
|}
+
<td colspan="2" align="center">'''Website(s):'''  {{{website}}}</span>{{#if:{{{other_website1|}}}|<br>{{{other_website2}}}}}{{#if:{{{other_website3|}}}|<br>{{{other_website4}}}}}'''</td>
 +
</tr>
 +
}}
 +
</table>
 +
</includeonly>
 
<noinclude>
 
<noinclude>
 
<!-- TO MAKE A NEW TEMPLATE: copy the source up to, but not including, the "noinclude" line into a new page. -->
 
<!-- TO MAKE A NEW TEMPLATE: copy the source up to, but not including, the "noinclude" line into a new page. -->
Line 29: Line 33:
  
 
[[Category:infobox templates| ]]
 
[[Category:infobox templates| ]]
[[ar:قالب:قالب معلومات]]
 
[[fa:الگو:دادان]]
 
[[fr:Modèle:Infobox]]
 
[[zh:Template:Infobox]]
 
[[ia:Patrono:Infobox]]
 
 
</noinclude>
 
</noinclude>

Latest revision as of 10:51, 17 June 2008



Usage

Copy the source of this template (available from the view source link) and paste it into a new blank page. Only the part up to, but not including, the tag <noinclude> is necessary.

See also