Difference between revisions of "User:Tarulia/responsive/Template:XIVboxHeader"

 
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
    {{/Documentation}}
+
{{/Documentation}}
 
</noinclude>
 
</noinclude>
 
<includeonly>
 
<includeonly>
  
 
     <!-- XIVboxHeader -->
 
     <!-- XIVboxHeader -->
     {{{!}} class="itembox shadowed" style="color:white; width:100%; cellpadding=0; cellspacing=1;" border={{{border|0}}}
+
     <div class="XIVboxHeader itembox shadowed">
    {{!}} style="width:75%; height:12px; font-size:18px; font-weight:bold" colspan="2"|<table>
+
      <div class="itembox-header">
         <tr>
+
         <div>[[File:{{{Icon|Question_mark_stub.png}}}|{{{Iconsize|48px}}}|{{#if:{{{allowlink|}}}||link=}}]]
            <td style="padding: 0 6px 0 0; width: 60px">[[File:{{{Icon|Question_mark_stub.png}}}|{{{Iconsize|48px}}}|{{#if:{{{allowlink|}}}||link=}}]]
+
             <div class="itembox-heading-group">
             </td>
+
                <h2>{{{Title|title}}}{{#if:{{{Icons|}}}
            <td>{{{Title|title}}}{{#if:{{{Icons|}}}
+
                     |<span class="icons">{{{Icons|icons}}}</span>
                     |&nbsp;&nbsp;{{{Icons|icons}}}
+
                 }}</h2>{{#if:{{{Subtitle|}}}
                 }}
+
                     |<p>{{{Subtitle|subtitle}}}</p>}}
                {{#if:{{{Subtitle|}}}
+
             </div>
                     |<div style="padding:0em 0em 0em .5em; font-size:12px">{{{Subtitle|subtitle}}}</div>
+
         </div>
                }}
+
        <div>{{{Type|geotype}}}<br>{{#if:{{{Patch|}}}
             </td>
+
                |[[Patch {{{Patch}}}]][[Category:Patch {{{Patch}}}]]
         </tr>
+
            }}
    </table>
+
        </div>
    {{!}} style="width:25%; height:12px; font-size:18px; text-align:right; font-weight:bold; padding-right: 9px;"|{{{Type|geotype}}}<br>
+
      </div>
        {{#if:{{{Patch|}}}
+
      <hr>
            |<div style="float:right;font-size:9px;"><sup>[[Patch {{{Patch}}}]][[Category:Patch {{{Patch}}}]]</sup></div>
+
     <!-- /div see XIVboxFooter -->
        }}
+
    </includeonly>
    {{!}}-
 
    {{!}}style= "height:12px;" colspan="3" |<div style="height: 1ex;"></div><div style="padding: 0px; width:100%; background-color:#EBECF0; border:1px solid #969696;" ></div>
 
    {{!}}-
 
    {{!}}style= "height:12px; valigntop;" colspan="3" |<noinclude>
 
        {{!}}}
 
     <!-- /XIVboxHeader -->
 
</includeonly>
 

Latest revision as of 22:27, 2 April 2018

To edit Documentation, go here: /Documentation

Usage[edit]

{{User:Tarulia/responsive/Template:XIVboxHeader
|Title=Title
|Subtitle=Subtitle
|Type=Type
|Icon=Icon
|Iconsize=48px
|Icons=Icons
|Patch=1.0
|border=1
}}

Result[edit]

Question mark stub.png

TitleIcons

Subtitle


Parameters[edit]

Content[edit]

Icon[edit]

Iconsize[edit]

Title[edit]

Icons[edit]

Subtitle[edit]

Type[edit]

Patch[edit]

Behaviour Changes[edit]

border[edit]

allowlink[edit]