Template:Linkbox: Difference between revisions

From Halopedia, the Halo wiki

mNo edit summary
mNo edit summary
 
(38 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<includeonly>
<includeonly>{| class="linkbox" style="width:235px; float:right; clear:right; background:#F1F1F1; border:1px solid #ccc; margin:0 0 10px 10px"
{| style="border:1px solid #CCCCCC; background:#F1F1F1; float: right; clear: right; font-size: 90%; margin: 6px auto; width: 230px; padding: 0px; spacing: 0px;"
{{#if:{{{gameplay|}}}|
{{#if:{{{gameplay|}}}||
{{!}} style="vertical-align:middle;{{#if:{{{quote|}}}|border-bottom:1px dashed #ccc}}" {{!}} [[File:Main-Legendary.png|50px|link=]]
{{#if:{{{quote|}}}|{{!}} style="border-bottom:1px dashed #CCCCCC;" {{!}}|{{!}}}}[[File:Main-Legendary.png|50px|link=]]
{{!}} 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|}}}|{{!}} style="border-bottom:1px dashed #CCCCCC;" {{!}}|{{!}}}}See our gameplay tips related to '''{{PAGENAME}}''' on its [[{{#if:{{{gameplaypage|}}}|{{{gameplaypage}}}|{{PAGENAME}}/Gameplay}}|gameplay tips page]]
{{!}}-|}}
{{!}}-}}
{{#if:{{{quote|}}}|
{{#if:{{{quote|}}}||
{{!}} style="vertical-align:middle;{{#if:{{{gallery|}}}|border-bottom:1px dashed #ccc}}" {{!}} [[File:Graphic Halo.png|50px|link=]]
{{!}}[[File:Graphic Halo.png|50px|link=]]
{{!}} 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]].
{{!}}Check out our collection of quotes related to '''{{PAGENAME}}''' on its [[{{#if:{{{quotepage|}}}|{{{quotepage}}}|{{PAGENAME}}/Quotes}}|quotes page]].
{{!}}-|}}
}}
{{#if:{{{gallery|}}}|
{{!}} style="vertical-align:middle;{{#if:{{{quote|}}}||{{#if:{{{gameplay|}}}|border-top:1px dashed #ccc}}}}" {{!}} [[File:Main-Superintendent.png|50px|link=]]
{{!}} 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 anything in the parameters. For example, adding anything in <code><nowiki>|gameplay=</nowiki></code> will cause gameplay part of the template to appear.
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.


<pre>
<pre>
Line 17: Line 20:
|gameplay=
|gameplay=
|quote=
|quote=
|gallery=
}}
}}
</pre>
</pre>


'''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=
|quotepage=
|quotepage=
|gallerypage=
</pre>
</pre>


[[Category:Content templates]]</noinclude>
[[Category:Content templates]]</noinclude>

Latest revision as of 18: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=