Template:Feature boxes: Difference between revisions

From CivWiki
Jump to navigation Jump to search
Content added Content deleted
(create template for simplifying monday morning boxes :))
 
m (remove limit on current events picture, test)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
__NOTOC__
{| style="width:100%; margin-top:7px"
{| style="width:100%; margin-top:7px"
| style="border:1px solid #cef2e0; background-color:#f5fffa; padding:5px 15px 15px 8px; vertical-align:top;" |
| style="border:1px solid #cef2e0; background-color:#f5fffa; padding:5px 15px 15px 8px; vertical-align:top;" |
Line 6: Line 7:
[[File:{{{featured_article_pic|}}}|thumb|{{{featured_article_pic_desc|}}}]]
[[File:{{{featured_article_pic|}}}|thumb|{{{featured_article_pic_desc|}}}]]


{{{featured_article_desc|}}} '''[[(Full article...)|{{{featured_article_page|}}}]]'''
{{{featured_article_desc|}}} '''[[{{{featured_article_page|}}}|(Full article...)]]'''


{{FeatureFooter}}
{{FeatureFooter}}
Line 15: Line 16:
<h4 style="border-width:1px; border-style:solid; margin-top:3px; margin-bottom:0.5em; padding:0.2em 0.4em; font-size:120%; font-weight:bold; font-family:inherit; background:#cedff2; border-color: #a3b0bf;">Current Events</h4>
<h4 style="border-width:1px; border-style:solid; margin-top:3px; margin-bottom:0.5em; padding:0.2em 0.4em; font-size:120%; font-weight:bold; font-family:inherit; background:#cedff2; border-color: #a3b0bf;">Current Events</h4>


[[File:{{{current_events_pic|}}}|thumb|{{{current_events_pic_desc|}}}|200x200px]]
[[File:{{{current_events_pic|}}}|thumb|{{{current_events_pic_desc|}}}]]


{{{current_events|}}}
{{{current_events|}}}
Line 23: Line 24:
}}
}}
|}
|}
<noinclude>
__NOTOC__
{{documentation}}
</noinclude>

Latest revision as of 02:02, 17 October 2022

From the Featured Article

[[File:|thumb|]]

[[|(Full article...)]]

Current Events

[[File:|thumb|]]



Template documentation[view] [edit] [history] [purge]

Usage

To use this template in a featured article, import the template by using {{Feature boxes}}. This template is intended for use in the weekly current events and featured article rotation.

Full

The following template:

{{Feature boxes
| featured_article_page=Breslau
| featured_article_pic=PacStatueJanuary20211.jpeg
| featured_article_desc=
A full description of the article. We can include multiple lines to different articles as well as [[Main Page|use MediaWiki formatting in this format.]] Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
| featured_article_pic_desc= Description for the picture in question
| current_events=
* Each different current event that week belong on a different bullet
* They should be well researched and more
* Make sure each are more or less covering the events in question
| current_events_pic=Caledonia_Train_Station_Lines_5,_6,_and_7.png
| current_events_pic_desc=A description of the current events picture
| newsletter_link=https://civwiki.news/newsletter-07-18
}}

Results in:

From the Featured Article

Description for the picture in question

A full description of the article. We can include multiple lines to different articles as well as use MediaWiki formatting in this format. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. (Full article...)

Current Events

A description of the current events picture
  • Each different current event that week belong on a different bullet
  • They should be well researched and more
  • Make sure each are more or less covering the events in question