Template:Website infobox: Difference between revisions
From Destinypedia, the Destiny wiki
mNo edit summary |
m (Text replacement - "{{!}}-}}" to "}} |-") |
||
(59 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{| | {| class="infobox" style="width:250px; background:{{{BG|#f0f0f0}}}; border:1px solid #999; color:{{{color|inherit}}}" cellspacing="0" | ||
! class="infoboxheading" colspan="2" style="background:{{{nameBG|transparent}}}" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}} | |||
! colspan=2 style="background:{{{ | |||
|- | |- | ||
{{#if:{{{image|}}}| | {{#if:{{{image|}}}| | ||
! colspan=2 style="background:{{{imageBG|transparent}}} | {{!}} class="infoboxmedia" colspan="2" style="background:{{{imageBG|transparent}}}" {{!}} {{{image}}} {{#if:{{{caption|}}}|{{clear}}{{{caption}}}}} | ||
}} | }} | ||
|- | |- | ||
{{#if:{{{url|}}}| | {{#if:{{{url|}}}| | ||
{{!}} class="infoboxlabel" style=" | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{!}} class="infoboxcell" style=" | [[wikipedia:URL|URL]]: | ||
{{{url | {{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{url}}} | |||
}} | |||
|- | |||
{{#if:{{{commercial|}}}| | {{#if:{{{commercial|}}}| | ||
{{!}} class="infoboxlabel" style=" | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{!}} class="infoboxcell" style=" | Commercial?: | ||
{{{commercial | {{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{commercial}}} | |||
}} | |||
|- | |||
{{#if:{{{type|}}}| | {{#if:{{{type|}}}| | ||
{{!}} class="infoboxlabel" style=" | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{!}} class="infoboxcell" style=" | Type of site: | ||
{{{type | {{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{type}}} | |||
}} | |||
|- | |||
{{#if:{{{register|}}}| | {{#if:{{{register|}}}| | ||
{{!}} class="infoboxlabel" style=" | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{!}} class="infoboxcell" style=" | Registration: | ||
{{{register | {{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{register}}} | |||
}} | |||
|- | |||
{{#if:{{{host|}}}| | {{#if:{{{host|}}}| | ||
{{!}} class="infoboxlabel" style=" | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{!}} class="infoboxcell" style=" | Domain host: | ||
{{{host | {{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{host}}} | |||
}} | |||
|- | |||
{{#if:{{{creator|}}}| | {{#if:{{{creator|}}}| | ||
{{!}} class="infoboxlabel" style=" | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{!}} class="infoboxcell" style=" | Created by: | ||
{{{creator | {{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{creator}}} | |||
}} | |||
|- | |||
{{#if:{{{created|}}}| | {{#if:{{{created|}}}| | ||
{{!}} class="infoboxlabel" style=" | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{!}} class="infoboxcell" style=" | Launched: | ||
{{{created | {{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{created}}} | |||
}} | |||
|- | |||
{{#if:{{{status|}}}| | {{#if:{{{status|}}}| | ||
{{!}} class="infoboxlabel" style=" | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{!}} class="infoboxcell" style=" | Status: | ||
{{{status | {{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{status}}} | |||
| | }} | ||
|- | |||
| class="infoboxfooter" colspan="2" | | |||
|}<noinclude> | |||
{{Clear}}__NOTOC__ | {{Clear}}__NOTOC__ | ||
==Usage instructions== | ==Usage instructions== | ||
Paste the following code into the top of an article, filling all known fields: | Paste the following code into the top of an article, filling all known fields: | ||
<pre>{{Website infobox | <pre> | ||
{{Website infobox | |||
|image= | |image= | ||
|url= | |url= | ||
Line 62: | Line 79: | ||
|created= | |created= | ||
|status= | |status= | ||
}}</pre> | }} | ||
</pre> | |||
;Custom parameters | ;Custom parameters | ||
Line 70: | Line 88: | ||
|color= | |color= | ||
|BG= | |BG= | ||
| | |nameBG= | ||
|imageBG= | |||
|fieldBG= | |||
|lineBG= | |lineBG= | ||
</pre> | </pre> | ||
[[Category:Infobox templates | [[Category:Infobox templates]]</noinclude> | ||
</noinclude> |
Latest revision as of 10:14, October 18, 2022
Website infobox | |
---|---|
Usage instructions
Paste the following code into the top of an article, filling all known fields:
{{Website infobox |image= |url= |commercial= |type= |register= |host= |creator= |created= |status= }}
- Custom parameters
|id= |color= |BG= |nameBG= |imageBG= |fieldBG= |lineBG=