Template:Website infobox: Difference between revisions

From Destinypedia, the Destiny wiki

m (Text replacement - "float:right; clear:right; " to "")
m (Text replacement - "{{!}}-}}" to "}} |-")
 
(48 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| class="infobox" cellspacing="0" cellpadding="4" border="0" style="border-width: 0px; width:250px; margin:0 0 1em 1em; padding:2px; background:{{{BG|#F2F3F4}}}; border-radius: 0 0 .7em .7em; border: 1px solid #999999; color:{{{color|inherit}}};"
{| 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}}}}
! class="infoboxheading" colspan=2 style="background:{{{BG|transparent}}}; text-align:center; font-size:120%;" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
|-
|-
{{#if:{{{image|}}}|
{{#if:{{{image|}}}|
! colspan=2 style="background:{{{imageBG|transparent}}}; text-align:center;" {{!}} {{{image}}}
{{!}} class="infoboxmedia" colspan="2" style="background:{{{imageBG|transparent}}}" {{!}} {{{image}}} {{#if:{{{caption|}}}|{{clear}}{{{caption}}}}}
}}
}}
|-
|-
{{#if:{{{url|}}}|
{{#if:{{{url|}}}|
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{sectionBG|#F2F3F4}}}; border-top:1px solid {{{lineBG|#000}}}; font-size:90%;" {{!}} '''[[Wikipedia:URL|URL]]''':
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{sectionBG|#F2F3F4}}}; border-top:1px solid {{{lineBG|#000}}}; font-size:80%;" {{!}}
[[wikipedia:URL|URL]]:
{{{url|}}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}}-}}
{{{url}}}
}}
|-
{{#if:{{{commercial|}}}|
{{#if:{{{commercial|}}}|
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{sectionBG|#F2F3F4}}}; border-top:1px solid {{{lineBG|#000}}}; font-size:90%;" {{!}} '''Commercial?''':
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{sectionBG|#F2F3F4}}}; border-top:1px solid {{{lineBG|#000}}}; font-size:80%;" {{!}}
Commercial?:
{{{commercial|}}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}}-}}
{{{commercial}}}
}}
|-
{{#if:{{{type|}}}|
{{#if:{{{type|}}}|
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{sectionBG|#F2F3F4}}}; border-top:1px solid {{{lineBG|#000}}}; font-size:90%;" {{!}} '''Type of site''':
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{sectionBG|#F2F3F4}}}; border-top:1px solid {{{lineBG|#000}}}; font-size:80%;" {{!}}
Type of site:
{{{type|}}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}}-}}
{{{type}}}
}}
|-
{{#if:{{{register|}}}|
{{#if:{{{register|}}}|
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{sectionBG|#F2F3F4}}}; border-top:1px solid {{{lineBG|#000}}}; font-size:90%;" {{!}} '''Registration''':
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{sectionBG|#F2F3F4}}}; border-top:1px solid {{{lineBG|#000}}}; font-size:80%;" {{!}}
Registration:
{{{register|}}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}}-}}
{{{register}}}
}}
|-
{{#if:{{{host|}}}|
{{#if:{{{host|}}}|
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{sectionBG|#F2F3F4}}}; border-top:1px solid {{{lineBG|#000}}}; font-size:90%;" {{!}} '''Domain host''':
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{sectionBG|#F2F3F4}}}; border-top:1px solid {{{lineBG|#000}}}; font-size:80%;" {{!}}
Domain host:
{{{host|}}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}}-}}
{{{host}}}
}}
|-
{{#if:{{{creator|}}}|
{{#if:{{{creator|}}}|
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{sectionBG|#F2F3F4}}}; border-top:1px solid {{{lineBG|#000}}}; font-size:90%;" {{!}} '''Created by''':
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{sectionBG|#F2F3F4}}}; border-top:1px solid {{{lineBG|#000}}}; font-size:80%;" {{!}}
Created by:
{{{creator|}}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}}-}}
{{{creator}}}
}}
|-
{{#if:{{{created|}}}|
{{#if:{{{created|}}}|
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{sectionBG|#F2F3F4}}}; border-top:1px solid {{{lineBG|#000}}}; font-size:90%;" {{!}} '''Launched''':
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{sectionBG|#F2F3F4}}}; border-top:1px solid {{{lineBG|#000}}}; font-size:80%;" {{!}}
Launched:
{{{created|}}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}}-}}
{{{created}}}
}}
|-
{{#if:{{{status|}}}|
{{#if:{{{status|}}}|
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{sectionBG|#F2F3F4}}}; border-top:1px solid {{{lineBG|#000}}}; font-size:90%;" {{!}} '''Status''':
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{sectionBG|#F2F3F4}}}; border-top:1px solid {{{lineBG|#000}}}; font-size:80%;" {{!}}
Status:
{{{status|}}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}}-}}
{{{status}}}
|}<includeonly>[[Category:Websites]]</includeonly><noinclude>
}}
|-
| class="infoboxfooter" colspan="2" | &nbsp;
|}<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=
|sectionBG=
|nameBG=
|imageBG=
|fieldBG=
|lineBG=
|lineBG=
</pre>
</pre>


[[Category:Infobox templates]]</noinclude>
[[Category:Infobox templates]]</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=