Difference between revisions of "Template:SolutionBox"

From Akvopedia
Jump to: navigation, search
(New page: {| class="infobox bordered" style="width: 25em; text-align: left; font-size: 90%;" |- | colspan="2" style="text-align:center; font-size: large;" | '''{{{name}}}''' |- | colspan="2" style="...)
 
(See also: removed random stuff)
 
(8 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;" | '''{{{name}}}'''
+
--><table class="infobox solutions vcard" style="width: 23em;">
|-
+
<tr>
| colspan="2" style="text-align:center;" | [[Image:{{{image}}}|300px| ]]<br>{{{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>
! Data 1:
+
<!-- ***** Solution Image ***** -->
| {{{data1}}}
+
{{#if:{{{image_solution|}}}|
|-
+
<tr>
! Data 2:
+
<td colspan="2" style="text-align: center; padding: 0.7em 0.8em 0.7em 0.8em;;">
| {{{data2|''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>
! Data 3 (data hidden if data3 empty or not defined):
+
</tr>
| {{{data3|}}}
+
}}<!-- ***** 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