Difference between revisions of "Template:Glossary"

From ICANNWiki
Jump to navigation Jump to search
(Created page with "==Boilerplate== Copy/Paste this to an article and then change the example text to match the company. If you don't have info for a row, just remove everything to the right of the...")
 
 
(42 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
<noinclude>
 
==Boilerplate==
 
==Boilerplate==
 
Copy/Paste this to an article and then change the example text to match the company.  If you don't have info for a row, just remove everything to the right of the "=".
 
Copy/Paste this to an article and then change the example text to match the company.  If you don't have info for a row, just remove everything to the right of the "=".
 
<pre>
 
<pre>
{{Sponsor Info|
+
{{Glossary|
|text  = Disclaimer
+
|note  = This article is neutral, but is [[Sponsorship|sponsored]]
 +
|logo    = .jpg
 +
|link    = link to article
 +
|platsponsor = ICANNWiki [[Sponsorship|Platinum Sponsor]]
 +
|goldsponsor = ICANNWiki [[Sponsorship|Gold Sponsor]]
 +
|silversponsor = ICANNWiki [[Sponsorship|Silver Sponsor]]
 +
|bronzesponsor = ICANNWiki [[Sponsorship|Bronze Sponsor]]
 
}}</pre>
 
}}</pre>
 
Only add to sponsors:
 
<pre>
 
| platsponsor = ICANNWiki [[Sponsorship|Platinum Sponsor]]
 
| goldsponsor = ICANNWiki [[Sponsorship|Gold Sponsor]]
 
| silversponsor = ICANNWiki [[Sponsorship|Silver Sponsor]]
 
| bronzesponsor = ICANNWiki [[Sponsorship|Bronze Sponsor]]
 
</pre>
 
 
</noinclude>
 
</noinclude>
 
{| cellpadding="2" style="float: right; border: 1px solid darkgray; padding: 5px; margin-left: 10px;"
 
{| cellpadding="2" style="float: right; border: 1px solid darkgray; padding: 5px; margin-left: 10px;"
 +
|-
 +
{{#if:{{{note|}}}
 +
|{{!}}colspan="2" {{!}} <center>{{{note}}}</center>}}
 
|-
 
|-
 
{{#if:{{{logo|}}}
 
{{#if:{{{logo|}}}
|{{!}}colspan="2" {{!}} [[Image:{{{logo}}}‎|150px|center]]}}
+
|{{!}}colspan="2" {{!}} [[Image:{{{logo}}}‎|150px|center|link={{{link}}}]]}}
 
|-
 
|-
 
{{#if:{{{platsponsor|}}}
 
{{#if:{{{platsponsor|}}}
Line 30: Line 32:
 
{{#if:{{{bronzesponsor|}}}
 
{{#if:{{{bronzesponsor|}}}
 
|{{!}}colspan="2" style="text-align:center; background-color:#BF9000;"{{!}} {{{bronzesponsor}}}}}
 
|{{!}}colspan="2" style="text-align:center; background-color:#BF9000;"{{!}} {{{bronzesponsor}}}}}
|-
 
{{#if:{{{text|}}}
 
|{{!}}
 
{{!}}{{{text}}}}}
 
|-
 
 
|}<noinclude>
 
|}<noinclude>
 +
 +
==Example==
 +
 +
{{Glossary|
 +
|note  = This article is neutral, but is [[Sponsorship|sponsored]]
 +
| logo            = Example.jpg
 +
| platsponsor = ICANNWiki [[Sponsorship|Platinum Sponsor]]
 +
}}
 +
 +
[[Category:Templates|Glossary]]</noinclude>

Latest revision as of 17:20, 6 February 2013

Boilerplate

Copy/Paste this to an article and then change the example text to match the company. If you don't have info for a row, just remove everything to the right of the "=".

{{Glossary|
|note   = This article is neutral, but is [[Sponsorship|sponsored]]
|logo     = .jpg
|link     = link to article
|platsponsor = ICANNWiki [[Sponsorship|Platinum Sponsor]]
|goldsponsor = ICANNWiki [[Sponsorship|Gold Sponsor]]
|silversponsor = ICANNWiki [[Sponsorship|Silver Sponsor]]
|bronzesponsor = ICANNWiki [[Sponsorship|Bronze Sponsor]]
}}

Example

This article is neutral, but is sponsored
link={{{link}}}
ICANNWiki Platinum Sponsor