Template:WMF Feature Content: Difference between revisions
Content deleted Content added
GVarnum-WMF (talk | contribs) m 1 revision imported from meta:Template:WMF_Feature_Content |
LincolnBot (talk | contribs) |
||
Line 7: | Line 7: | ||
<div class="flex-grid-col wmf-feature-content-left">[[File:{{{image|Placeholder view vector.svg}}}|{{{image_size|400}}}x{{{image_height|293}}}px]]</div> |
<div class="flex-grid-col wmf-feature-content-left">[[File:{{{image|Placeholder view vector.svg}}}|{{{image_size|400}}}x{{{image_height|293}}}px]]</div> |
||
<div class="flex-grid-col wmf-feature-content-right"> |
<div class="flex-grid-col wmf-feature-content-right"> |
||
<p class="wmf-feature-content-right-text">{{{text|This is demo text}}}</p><br/> |
<p class="wmf-feature-content-right-text">{{{text|This is demo text}}}</p><br /> |
||
{{#if: {{{page_link|{{{page_link_external|}}}}}} | <p class="wmf-feature-content-right-link"> {{#if: {{{page_link|}}} | {{WMF Forward Button|link={{{page_link}}}|link_text ={{{page_linktext|{{{page_link|More about this}}}}}} }} | {{WMF Forward Button|link_external={{{page_link_external}}}|link_text ={{{page_linktext|More about this}}} }} }} </p> | }} |
{{#if: {{{page_link|{{{page_link_external|}}}}}} | <p class="wmf-feature-content-right-link"> {{#if: {{{page_link|}}} | {{WMF Forward Button|link={{{page_link}}}|link_text ={{{page_linktext|{{{page_link|More about this}}}}}} }} | {{WMF Forward Button|link_external={{{page_link_external}}}|link_text ={{{page_linktext|More about this}}} }} }} </p> | }} |
||
</div> |
</div> |
Latest revision as of 01:57, 10 March 2024
Feature content header
A template to feature content. Used on the main Foundation page.
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
title | title | Title for this featured content
| Unknown | optional |
image height | image_height | The height of the image to be used in px
| Unknown | optional |
image | image | The name of the image to be used including the extension.
| Unknown | optional |
image size | image_size | The width of the image to be used in px
| Unknown | optional |
text | text | A short description of this featured content
| Unknown | optional |
page link | page_link | The name of the page to be linked to
| Unknown | optional |
page link external | page_link_external | Some external URL to be linked to
| Unknown | optional |
page link text | page_linktext | The text that should appear in the link
| Unknown | optional |
Usage
Example 1
{{WMF Feature Content |title=Wikimedia affiliates |image = GLAM people vote on the next GLAMwiki conference location The Netherlands.jpg |image_size= 400px |image_height= 293px |text= In acknowledgment of the diversity of groups contributing to the Wikimedia movement, the Wikimedia Foundation Board of Trustees recognizes models of affiliation within the Wikimedia movement – chapters, thematic organizations, and user groups. |page_link= Wikimedia affiliates |page_linktext= More about this }}
Wikimedia affiliates
Example 2
{{WMF Feature Content |title=Build capacity |image=2017 Wikimedia movement strategy discussion in Indonesia 22.jpg |image_size= 400 |text= We offer information and resources to help communities overcome challenges and increase their impact. |page_link_external= https://learn.wiki/ |page_linktext= More about capacity building }}
Build capacity
</noinclude>