Difference between revisions of "BobRowPlus"

From Sega Retro

(tinkering with some improvements)
 
Line 1: Line 1:
 
<includeonly>{{#if: {{{if|}}}{{{default|}}} |
 
<includeonly>{{#if: {{{if|}}}{{{default|}}} |
{{#ifeq: {{{headline|}}} | yes | ! | {{!}} }} style="padding:2px; max-width:340px; overflow:visible; text-align:{{{align|left}}};{{{style|}}}"{{!}} {{#if: {{{title|}}} | '''{{{title|}}}:''' }} {{#if: {{{content|}}} | {{{content|}}} | {{#if: {{{default|}}} | {{{default|}}} }} }}
+
{{#ifeq: {{{headline|}}} | yes | ! | {{!}} }} style="padding:{{#if:{{{padding|}}}|{{{padding|}}}|2}}px; max-width:340px; overflow:visible; text-align:{{{align|left}}};{{{style|}}}"{{!}} {{#if: {{{title|}}} | '''{{{title|}}}:''' }} {{#if: {{{content|}}} | {{{content|}}} | {{#if: {{{default|}}} | {{{default|}}} }} }}
 
{{!}}-
 
{{!}}-
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>
Line 10: Line 10:
 
{{BobRowPlus|if=xxx|content=This file contains additional information, probably added from the digital camera or scanner used to create or digitize it. If the file has been modified from its original state, some details may not fully reflect the modified file.
 
{{BobRowPlus|if=xxx|content=This file contains additional information, probably added from the digital camera or scanner used to create or digitize it. If the file has been modified from its original state, some details may not fully reflect the modified file.
 
|title=Long text}}
 
|title=Long text}}
{{BobRowPlus|if=xxx|content={{releasesHeader}}
+
{{BobRowPlus|if=xxx|padding=0|content={{releasesHeader}}
 
{{releasesEnd}}ReleasesHeader is fixed at 320px}}
 
{{releasesEnd}}ReleasesHeader is fixed at 320px}}
 
{{BobRowPlus|if=xxx|content=<div style="background:lime;width:400px">wide div</div>}}
 
{{BobRowPlus|if=xxx|content=<div style="background:lime;width:400px">wide div</div>}}
Line 26: Line 26:
 
| default=
 
| default=
 
| align=
 
| align=
 +
| padding=
 
| style=
 
| style=
 
}}
 
}}

Revision as of 12:57, 19 July 2018

Notavailable.svg
header
Title text: hello
default content
Long text: This file contains additional information, probably added from the digital camera or scanner used to create or digitize it. If the file has been modified from its original state, some details may not fully reflect the modified file.
Release Date RRP Code
ReleasesHeader is fixed at 320px
wide div

Adds a row to breakout box templates.

Usage

{{BobTable|
{{BobRowPlus
| if=
| title=
| headline=
| content=
| default=
| align=
| padding=
| style=
}}
}}