Difference between revisions of "Template:SimplePortal"
RichardHeigl (talk | contribs) |
m (Tag: 2017 source edit) |
{{{col-1-head}}}
{{{col-1-text}}}
{{{col-2-head}}}
{{{col-2-text}}}
{{{col-3-head}}}
{{{col-3-text}}}
{{{free-section-head}}}
{{{free-section-text}}}
{{SimplePortal | full name = | organization = | short quote = | image name = | hover text = | about me = | banner-title = | banner-image = | col-1-head = | col-1-text = | col-2-head = | col-2-text = | col-3-head = | col-3-text = |free-section-head = |free-section-text = }}
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Banner-image |
banner-image
|
no description
|
Unknown | optional |
Banner-title |
banner-title
|
no description
|
Unknown | optional |
Image name |
image name
|
no description
|
Unknown | optional |
Full name |
full name
|
no description
|
Unknown | optional |
Hover text |
hover text
|
no description
|
Unknown | optional |
Short quote |
short quote
|
no description
|
Unknown | optional |
Col-1-head |
col-1-head
|
no description
|
Unknown | optional |
Col-1-text |
col-1-text
|
no description
|
Unknown | optional |
Col-2-head |
col-2-head
|
no description
|
Unknown | optional |
Col-2-text |
col-2-text
|
no description
|
Unknown | optional |
Col-3-head |
col-3-head
|
no description
|
Unknown | optional |
Col-3-text |
col-3-text
|
no description
|
Unknown | optional |
Free-section-head |
free-section-head
|
no description
|
Unknown | optional |
Free-section-text |
free-section-text
|
no description
|
Unknown | optional |
|
no description
|
Unknown | optional |
{{#if:{{{banner-image|}}}|{{banner|direction=right|title='''{{{banner-title}}}'''|{{#if:{{{banner-title|}}}|title='''{{{banner-title}}}'''|}}|section=|image={{{banner-image}}}}}}} <div style="margin-top: 1em;"> <div style="width:25%; float:left; height:4px; background:#4055BA;"></div> <div style="width:25%; float:left; height:4px; background:#B73A3A;"></div> <div style="width:25%; float:left; height:4px; background:#FFB100;"></div> <div style="width:25%; float:left; height:4px; background:#2B82EC;"></div> </div> __NOTOC__ <div style="padding-top: 2em;"> {{#if:{{{image name|}}}|[[File:{{{image name}}}{{!}}alt={{{full name}}}|frameless|320px|right|{{#if:{{{hover text|}}}|{{{hover text|}}}|{{{hover text|{{{full name}}}}}}}}]]|}} {{#if:{{{full name|}}}| <div style="font-size: 2.6em; line-height: 1.2; font-family:'Helvetica Neue', Helvetica, 'Lucida Grande', Tahoma, Verdana, sans-serif;class="portal-fullname">{{{full name|}}}</div>}} {{#if:{{{short quote|}}}|<div style="padding-top: 16px; font-family:'Helvetica Neue', Helvetica, 'Lucida Grande', Tahoma, Verdana, sans-serif;class0"portal-shortquote">{{{short quote}}}</div>}} </div> {{Clear}} <div style="display: flex; flex-direction: row; flex-wrap: wrap; margin-top: 1em;"> <div style="flex-grow: 1; flex-shrink: 0; flex-basis: 260px; margin-right: 2em;"> <h2 style="font-family:'Helvetica Neue', Helvetica, 'Lucida Grande', Tahoma, Verdana, sans-serif; border-bottom:0; display: block;">{{{col-1-head}}}</h2> {{{col-1-text}}} </div> <div style="flex-grow: 1; flex-shrink: 0; flex-basis: 260px; margin-right: 2em;"> <h2 style="font-family:'Helvetica Neue', Helvetica, 'Lucida Grande', Tahoma, Verdana, sans-serif; border-bottom:0; display: block;">{{{col-2-head}}}</h2> {{{col-2-text}}} </div> <div style="flex-grow: 1; flex-shrink: 0; flex-basis: 140px; padding: 0 1em 1em 1em; background: #f4f4f4;"> <h2 style="font-family:'Helvetica Neue', Helvetica, 'Lucida Grande', Tahoma, Verdana, sans-serif; border-bottom:0; display: block;">{{{col-3-head}}}</h2> {{{col-3-text}}} </div> </div> {{Clear}} <div style=" width=100%; padding: 0 1em 1em 0;"> {{#if:{{{free-section-head}}}|<h2 style="font-family:'Helvetica Neue', Helvetica, 'Lucida Grande', Tahoma, Verdana, sans-serif; border-bottom:0; display: block;">{{{free-section-head}}}</h2>}} {{{free-section-text}}} </div> <noinclude> {{Clear}} <pre><nowiki> {{SimplePortal | full name = | organization = | short quote = | image name = | hover text = | about me = | banner-title = | banner-image = | col-1-head = | col-1-text = | col-2-head = | col-2-text = | col-3-head = | col-3-text = |free-section-head = |free-section-text = }} </nowiki></pre> <templatedata> { "params": { "banner-image": {}, "banner-title": {}, "image name": {}, "full name": {}, "hover text": {}, "short quote": {}, "col-1-head": {}, "col-1-text": {}, "col-2-head": {}, "col-2-text": {}, "col-3-head": {}, "col-3-text": {}, "free-section-head": {}, "free-section-text": {}, "": {} } } </templatedata> </noinclude>
Line 1: | Line 1: | ||
− | {{#if:{{{banner-image|}}}|{{banner|direction=right|title='''{{{banner-title}}}'''|section=|image={{{banner-image}}}}}}} | + | {{#if:{{{banner-image|}}}|{{banner|direction=right|{{#if:{{{banner-title|}}}|title='''{{{banner-title}}}'''|}}|section=|image={{{banner-image}}}}}}}__NOTOC__ |
− | + | <div> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | __NOTOC__ | ||
− | <div | ||
{{#if:{{{image name|}}}|[[File:{{{image name}}}{{!}}alt={{{full name}}}|frameless|320px|right|{{#if:{{{hover text|}}}|{{{hover text|}}}|{{{hover text|{{{full name}}}}}}}}]]|}} | {{#if:{{{image name|}}}|[[File:{{{image name}}}{{!}}alt={{{full name}}}|frameless|320px|right|{{#if:{{{hover text|}}}|{{{hover text|}}}|{{{hover text|{{{full name}}}}}}}}]]|}} | ||
{{#if:{{{full name|}}}| | {{#if:{{{full name|}}}| | ||
− | <div | + | <div class="portal-fullname">{{{full name|}}}</div>}} |
− | {{#if:{{{short quote|}}}|<div | + | {{#if:{{{short quote|}}}|<div class0"portal-shortquote">{{{short quote}}}</div>}} |
</div> | </div> | ||
Line 21: | Line 12: | ||
{{Clear}} | {{Clear}} | ||
− | <div style="display: flex; flex-direction: row; flex-wrap: wrap | + | <div style="display: flex; flex-direction: row; flex-wrap: wrap; "> |
<div style="flex-grow: 1; flex-shrink: 0; flex-basis: 260px; margin-right: 2em;"> | <div style="flex-grow: 1; flex-shrink: 0; flex-basis: 260px; margin-right: 2em;"> | ||
− | <h2 | + | <h2>{{{col-1-head}}}</h2> |
{{{col-1-text}}} | {{{col-1-text}}} | ||
</div> | </div> | ||
<div style="flex-grow: 1; flex-shrink: 0; flex-basis: 260px; margin-right: 2em;"> | <div style="flex-grow: 1; flex-shrink: 0; flex-basis: 260px; margin-right: 2em;"> | ||
− | <h2 | + | <h2>{{{col-2-head}}}</h2> |
{{{col-2-text}}} | {{{col-2-text}}} | ||
</div> | </div> | ||
<div style="flex-grow: 1; flex-shrink: 0; flex-basis: 140px; padding: 0 1em 1em 1em; background: #f4f4f4;"> | <div style="flex-grow: 1; flex-shrink: 0; flex-basis: 140px; padding: 0 1em 1em 1em; background: #f4f4f4;"> | ||
− | <h2 | + | <h2>{{{col-3-head}}}</h2> |
{{{col-3-text}}} | {{{col-3-text}}} | ||
</div> | </div> | ||
Line 43: | Line 34: | ||
<div style=" width=100%; padding: 0 1em 1em 0;"> | <div style=" width=100%; padding: 0 1em 1em 0;"> | ||
− | {{#if:{{{free-section-head}}}|<h2 | + | {{#if:{{{free-section-head}}}|<h2>{{{free-section-head}}}</h2>}} |
{{{free-section-text}}} | {{{free-section-text}}} | ||
</div> | </div> | ||
+ | |||
<noinclude> | <noinclude> | ||
Line 70: | Line 62: | ||
</nowiki></pre> | </nowiki></pre> | ||
+ | <templatedata> | ||
+ | { | ||
+ | "params": { | ||
+ | "banner-image": {}, | ||
+ | "banner-title": {}, | ||
+ | "image name": {}, | ||
+ | "full name": {}, | ||
+ | "hover text": {}, | ||
+ | "short quote": {}, | ||
+ | "col-1-head": {}, | ||
+ | "col-1-text": {}, | ||
+ | "col-2-head": {}, | ||
+ | "col-2-text": {}, | ||
+ | "col-3-head": {}, | ||
+ | "col-3-text": {}, | ||
+ | "free-section-head": {}, | ||
+ | "free-section-text": {}, | ||
+ | "": {} | ||
+ | } | ||
+ | } | ||
+ | </templatedata> | ||
</noinclude> | </noinclude> |