Template:Website infobox: Difference between revisions

From Halopedia, the Halo wiki

No edit summary
m (Text replacement - "{{#if:({{{[^\|}\n]+\|}}})\|↵{{!}} class="infoboxlabel" style="[^\n"]+" {{!}}↵([^\n]+):↵{{!}} class="infoboxcell" style="[^\n"]+" {{!}}↵{{{[^\|}\n]+\|?}}}↵}}↵\|-" to "{{Infobox|entry|title=$2|content=$1}}")
Line 6: Line 6:
}}
}}
|-
|-
{{#if:{{{url|}}}|
{{Infobox|entry|title=[[wikipedia:URL|URL]]|content={{{url|}}}}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{Infobox|entry|title=Commercial?|content={{{commercial|}}}}}
[[wikipedia:URL|URL]]:
{{Infobox|entry|title=Type of site|content={{{type|}}}}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{Infobox|entry|title=Registration|content={{{register|}}}}}
{{{url}}}
{{Infobox|entry|title=Domain host|content={{{host|}}}}}
}}
{{Infobox|entry|title=Created by|content={{{creator|}}}}}
|-
{{Infobox|entry|title=Launched|content={{{created|}}}}}
{{#if:{{{commercial|}}}|
{{Infobox|entry|title=Status|content={{{status|}}}}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
Commercial?:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{commercial}}}
}}
|-
{{#if:{{{type|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
Type of site:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{type}}}
}}
|-
{{#if:{{{register|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
Registration:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{register}}}
}}
|-
{{#if:{{{host|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
Domain host:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{host}}}
}}
|-
{{#if:{{{creator|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
Created by:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{creator}}}
}}
|-
{{#if:{{{created|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
Launched:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{created}}}
}}
|-
{{#if:{{{status|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
Status:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{status}}}
}}
|-
{{Infobox|end}}<includeonly>{{pagetitle|{{{pagename|{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}}}} - {{{pagelabel|Website {{#ifeq:{{SUBPAGENAME}}|Silver|(Silver Timeline)}}}}}}}[[Category:Websites]]</includeonly><noinclude>
{{Infobox|end}}<includeonly>{{pagetitle|{{{pagename|{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}}}} - {{{pagelabel|Website {{#ifeq:{{SUBPAGENAME}}|Silver|(Silver Timeline)}}}}}}}[[Category:Websites]]</includeonly><noinclude>
{{Clear}}__NOTOC__
{{Clear}}__NOTOC__

Revision as of 18:31, August 28, 2023

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=