Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Portal card: Difference between revisions

Template page
(Created page with "<!-- {{PortalCard | image = | text = | name = | link = }} --> <div class="portal-card"> <h6 class="portal-card-TOC">{{{name}}}</h6> <div class="portal-card-image"> [[File:{{{image|Placeholder-image.png}}}|link={{{link}}}]]</div> <div class="portal-card-text">{{{text}}}</div> </div> <!-- TemplateData --> <!-- @param image The image filename or URL, with extension (.jpg etc) @param text Any text you want to appear next to the image, takes wikilinks...")
 
mNo edit summary
Line 9: Line 9:
<div class="portal-card">
<div class="portal-card">
<h6 class="portal-card-TOC">{{{name}}}</h6>
<h6 class="portal-card-TOC">{{{name}}}</h6>
<div class="portal-card-image"> [[File:{{{image|Placeholder-image.png}}}|link={{{link}}}]]</div>
<div class="portal-card-image"> [[File:{{{image|Placeholder-image.png}}}|link={{{link}}}|size:100px]]</div>
<div class="portal-card-text">{{{text}}}</div>
<div class="portal-card-text">{{{text}}}</div>
</div>
</div>

Revision as of 12:56, 31 January 2024

{{{name}}}
size:100px
{{{text}}}

No description.

Template parameters

ParameterDescriptionTypeStatus
imageimage

The image filename or URL, with extension (.jpg etc)

Stringoptional
texttext

Any text you want to appear next to the image, takes wikilinks (within square brackets).

Stringrequired
namename

The name you want to appear in the table of contents.

Stringrequired
linklink

The link you want the image to redirect to (normally same as within the text).

Stringrequired