Template:Linkbox: Difference between revisions

From Halopedia, the Halo wiki

mNo edit summary
mNo edit summary
 
(16 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<includeonly>{| style="border:1px solid #CCCCCC; background:#F1F1F1; float:right; clear:right; margin:0 0 5px 5px; width:300px; padding:0px; spacing:0px; color:#000;"
<includeonly>{| class="linkbox" style="width:235px; float:right; clear:right; background:#F1F1F1; border:1px solid #ccc; margin:0 0 10px 10px"
{{#if:{{{gameplay|}}}|
{{#if:{{{gameplay|}}}|
{{!}} style="vertical-align:top;{{#if:{{{quote|}}}|border-bottom:1px dashed #CCCCCC;|}}" {{!}}[[File:Main-Legendary.png|50px|link=]]
{{!}} style="vertical-align:middle;{{#if:{{{quote|}}}|border-bottom:1px dashed #ccc}}" {{!}} [[File:Main-Legendary.png|50px|link=]]
{{!}} style="vertical-align:top;{{#if:{{{quote|}}}|border-bottom:1px dashed #CCCCCC;|}}" {{!}}See our gameplay information related to '''{{PAGENAME}}''' in its [[{{#if:{{{gameplaypage|}}}|{{{gameplaypage}}}|{{PAGENAME}}/Gameplay}}|gameplay page]]
{{!}} style="vertical-align:middle;{{#if:{{{quote|}}}|border-bottom:1px dashed #ccc}}" {{!}} See our gameplay information related to '''{{PAGENAME}}''' on its [[{{#if:{{{gameplaypage|}}}|{{{gameplaypage}}}|{{PAGENAME}}/Gameplay}}|gameplay page{{#if:{{#pos:{{{gameplaypage}}}|#}}|s}}]].
{{!}}-|}}
{{!}}-|}}
{{#if:{{{quote|}}}|
{{#if:{{{quote|}}}|
{{!}} style="vertical-align:top;{{#if:{{{gallery|}}}|border-bottom:1px dashed #CCCCCC;|}}" {{!}}[[File:Graphic Halo.png|50px|link=]]
{{!}} style="vertical-align:middle;{{#if:{{{gallery|}}}|border-bottom:1px dashed #ccc}}" {{!}} [[File:Graphic Halo.png|50px|link=]]
{{!}} style="vertical-align:top;{{#if:{{{gallery|}}}|border-bottom:1px dashed #CCCCCC;|}}" {{!}}Check out our collection of quotes related to '''{{PAGENAME}}''' in its [[{{#if:{{{quotepage|}}}|{{{quotepage}}}|{{PAGENAME}}/Quotes}}|quotes page]].
{{!}} style="vertical-align:middle;{{#if:{{{gallery|}}}|border-bottom:1px dashed #ccc}}" {{!}} Check out our collection of quotes related to '''{{PAGENAME}}''' on its [[{{#if:{{{quotepage|}}}|{{{quotepage}}}|{{PAGENAME}}/Quotes}}|quotes page]].
{{!}}-|}}
{{!}}-|}}
{{#if:{{{gallery|}}}|
{{#if:{{{gallery|}}}|
{{!}} style="vertical-align:top; {{#if:{{{quote|}}}||{{#if:{{{gameplay|}}}|border-top:1px dashed #CCCCCC;}}}}" {{!}}[[File:Main-Superintendent.png|50px|link=]]
{{!}} style="vertical-align:middle;{{#if:{{{quote|}}}||{{#if:{{{gameplay|}}}|border-top:1px dashed #ccc}}}}" {{!}} [[File:Main-Superintendent.png|50px|link=]]
{{!}} style="vertical-align:top; {{#if:{{{quote|}}}||{{#if:{{{gameplay|}}}|border-top:1px dashed #CCCCCC;}}}}" {{!}}Browse more images in this article's [[:Category:{{#if:{{{gallerypage|}}}|{{{gallerypage}}}|Images of {{PAGENAME}}}}|gallery page]].
{{!}} style="vertical-align:middle;{{#if:{{{quote|}}}||{{#if:{{{gameplay|}}}|border-top:1px dashed #ccc}}}}" {{!}} Browse more images in this article's [[:Category:{{#if:{{{gallerypage|}}}|{{{gallerypage}}}|Images of {{PAGENAME}}}}|gallery page]].
|}}
|}}
|}<includeonly><noinclude>
|}</includeonly><noinclude>
== How to ==
== How to ==
Specific parts of this template will only appear if you add their respective parameters. Gameplay field is for gameplay, quote field is for quotes, and gallery is for gallery of images.
Specific parts of this template will only appear if you add their respective parameters. Gameplay field is for gameplay, quote field is for quotes, and gallery is for gallery of images.
Line 25: Line 25:


'''Optional''': if the page is located on a different page, use the following:
'''Optional''': if the page is located on a different page, use the following:
<pre>
<pre>
|gameplaypage=
|gameplaypage=

Latest revision as of 19:26, December 31, 2023

How to

Specific parts of this template will only appear if you add their respective parameters. Gameplay field is for gameplay, quote field is for quotes, and gallery is for gallery of images.

{{Linkbox
|gameplay=
|quote=
|gallery=
}}

Optional: if the page is located on a different page, use the following:

|gameplaypage=
|quotepage=
|gallerypage=