Template:Website infobox: Difference between revisions

From Halopedia, the Halo wiki

m (Text replacement - "{{#if:({{{[^\|}\n]+\|}}})\|↵{{!}} class="infoboxlabel" style="[^\n"]+" {{!}}↵([^\n]+):↵{{!}} class="infoboxcell" style="[^\n"]+" {{!}}↵{{{[^\|}\n]+\|?}}}↵}}↵\|-" to "{{Infobox|entry|title=$2|content=$1}}")
m (Text replacement - "{{#if:{{{image\|}}}\|↵{{!}} class="infoboxmedia" colspan="2" style="[^\n"]+" {{!}} {{{image}}} {{#if:{{{caption\|}}}\|{{clear}}{{{caption}}}}}↵}}↵\|-" to "{{Infobox|media|content={{{image|}}}|caption={{{caption|}}}}}")
Line 2: Line 2:
! class="infoboxheading" colspan="2" style="background:{{{nameBG|transparent}}}" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
! class="infoboxheading" colspan="2" style="background:{{{nameBG|transparent}}}" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
|-
|-
{{#if:{{{image|}}}|
{{Infobox|media|content={{{image|}}}|caption={{{caption|}}}}}
{{!}} class="infoboxmedia" colspan="2" style="background:{{{imageBG|#F0F0F0}}}" {{!}} {{{image}}} {{#if:{{{caption|}}}|{{clear}}{{{caption}}}}}
}}
|-
{{Infobox|entry|title=[[wikipedia:URL|URL]]|content={{{url|}}}}}
{{Infobox|entry|title=[[wikipedia:URL|URL]]|content={{{url|}}}}}
{{Infobox|entry|title=Commercial?|content={{{commercial|}}}}}
{{Infobox|entry|title=Commercial?|content={{{commercial|}}}}}

Revision as of 18:32, 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=