Difference between revisions of "Template:SimplePortal2"

(Tag: 2017 source edit)
m
(Tag: 2017 source edit)
 


{{{col-1-head}}}

{{{col-1-text}}}

{{{col-2-head}}}

{{{col-2-text}}}

{{{col-3-head}}}

{{{col-3-text}}}

{{SimplePortal2
| 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.

Template parameters

Parameter Description Type Status
Banner-image banner-image

no description

Default
empty
Example
empty
Auto value
empty
Unknown optional
Banner-title banner-title

no description

Default
empty
Example
empty
Auto value
empty
Unknown optional
Image name image name

no description

Default
empty
Example
empty
Auto value
empty
Unknown optional
Full name full name

no description

Default
empty
Example
empty
Auto value
empty
Unknown optional
Hover text hover text

no description

Default
empty
Example
empty
Auto value
empty
Unknown optional
Short quote short quote

no description

Default
empty
Example
empty
Auto value
empty
Unknown optional
Col-1-head col-1-head

no description

Default
empty
Example
empty
Auto value
empty
Unknown optional
Col-1-text col-1-text

no description

Default
empty
Example
empty
Auto value
empty
Unknown optional
Col-2-head col-2-head

no description

Default
empty
Example
empty
Auto value
empty
Unknown optional
Col-2-text col-2-text

no description

Default
empty
Example
empty
Auto value
empty
Unknown optional
Col-3-head col-3-head

no description

Default
empty
Example
empty
Auto value
empty
Unknown optional
Col-3-text col-3-text

no description

Default
empty
Example
empty
Auto value
empty
Unknown optional
Free-section-head free-section-head

no description

Default
empty
Example
empty
Auto value
empty
Unknown optional
Free-section-text free-section-text

no description

Default
empty
Example
empty
Auto value
empty
Unknown optional

no description

Default
empty
Example
empty
Auto value
empty
Unknown optional

            
            __NOTOC__{{#if:<includeonly><div>
            
            {{#if:
            {{{banner-image|}}}|{{banner|direction=right|banner-title={{#if:{{{banner-title|}}}|{{{banner-title}}}|{{PAGENAME}}}}|section=|image={{{banner-image}}}|short quote={{#if:{{{short quote|}}}|{{{short quote}}}}}}}}}
        <div>
            {{#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 class="portal-fullname">{{{full name|}}}</div>}}</div>
        {{Clear}}
            <div style="display: flex; flex-direction: row; flex-wrap: wrap;">
        <div class="simpleportal2-col">
        <h2>{{{col-1-head}}}</h2>
        
        {{{col-1-text}}}
        </div>
        
            <div class="simpleportal2-col">
        {{#if:{{{col-2-head|}}}|<h2>{{{col-2-head}}}</h2>
        
        {{{col-2-text}}}}}
        </div>
        
            <div class="simpleportal2-col-last">
        {{#if:{{{col-2-head|}}}|<h2>{{{col-3-head}}}</h2>
        
        {{{col-3-text}}}
            }}</div>
            
</div>
        
            <noinclude>
            
            {{Clear}}
            __NOTOC__</includeonly>
            <noinclude>
            <pre><nowiki>
        
        {{SimplePortal2
        
        | 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>
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
+
<includeonly><div>
__NOTOC__{{#if:{{{banner-image|}}}|{{banner|direction=right|banner-title={{#if:{{{banner-title|}}}|{{{banner-title}}}|{{PAGENAME}}}}|section=|image={{{banner-image}}}|short quote={{#if:{{{short quote|}}}|{{{short quote}}}}}}}}}
+
{{#if:
<div>
+
{{{banner-image|}}}|{{banner|direction=right|banner-title={{#if:{{{banner-title|}}}|{{{banner-title}}}|{{PAGENAME}}}}|section=|image={{{banner-image}}}|short quote={{#if:{{{short quote|}}}|{{{short quote}}}}}}}}}
{{#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|}}}|<div class="portal-fullname">{{{full name|}}}</div>}}</div>
 
{{#if:{{{full name|}}}|<div class="portal-fullname">{{{full name|}}}</div>}}</div>
{{Clear}}
 
 
<div style="display: flex; flex-direction: row; flex-wrap: wrap;">
 
<div style="display: flex; flex-direction: row; flex-wrap: wrap;">
 
<div class="simpleportal2-col">
 
<div class="simpleportal2-col">
Line 10: Line 9:
 
{{{col-1-text}}}
 
{{{col-1-text}}}
 
</div>
 
</div>
 
 
<div class="simpleportal2-col">
 
<div class="simpleportal2-col">
<h2>{{{col-2-head}}}</h2>
+
{{#if:{{{col-2-head|}}}|<h2>{{{col-2-head}}}</h2>
{{{col-2-text}}}
+
{{{col-2-text}}}}}
 
</div>
 
</div>
 
+
<div class="simpleportal2-col">
<div class="simpleportal2-col-last">
+
{{#if:{{{col-2-head|}}}|<h2>{{{col-3-head}}}</h2>
<h2>{{{col-3-head}}}</h2>
+
{{{col-3-text}}}}}</div></div>
{{{col-3-text}}}
+
__NOTOC__</includeonly>
</div>
 
 
 
</div>
 
 
 
 
<noinclude>
 
<noinclude>
{{Clear}}
 
 
<pre><nowiki>
 
<pre><nowiki>
 
{{SimplePortal2
 
{{SimplePortal2

Attachments

Discussions