Template:Newsletter-cover-item: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
m (Revert)
(doc)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#switch: {{{1}}}{{{2}}}
[[#{{{1}}}|{{{1}}}]]<noinclude>
| 31 = <div style="float:left; clear:left; width:49%; margin-bottom:15px; text-align:left;"><span style="font-weight:bold; font-size:70%; color:#777; text-transform:uppercase;">{{{3}}}</span><br />[[#{{{4}}}|{{{4}}}]]</div>
{{Informative template|1=
| 32 = <div style="float:right; clear:right; position:relative; right:-3%; width:49%; margin-bottom:15px; text-align:left;"><span style="font-weight:bold; font-size:75%; color:#666; text-transform:uppercase;">{{{3}}}</span><br />[[#{{{4}}}|{{{4}}}]]</div>
__NOTOC__
| 33 = <div style="float:left; clear:left; width:49%; margin-bottom:15px; text-align:left;"><span style="font-weight:bold; font-size:75%; color:#666; text-transform:uppercase;">{{{3}}}</span><br />[[#{{{4}}}|{{{4}}}]]</div>
== Goal ==
| 34 = <div style="float:right; clear:right; position:relative; right:-3%; width:49%; margin-bottom:15px; text-align:left;"><span style="font-weight:bold; font-size:75%; color:#666; text-transform:uppercase;">{{{3}}}</span><br />[[#{{{4}}}|{{{4}}}]]</div>
This template is used for article/subsection headings in the table of contents for the [[FlightGear Newsletter]] beginning with the [[FlightGear Newsletter June 2014|July 2014 edition]].
| 35 = <div style="float:left; clear:left; width:49%; margin-bottom:15px; text-align:left;"><span style="font-weight:bold; font-size:75%; color:#666; text-transform:uppercase;">{{{3}}}</span><br />[[#{{{4}}}|{{{4}}}]]</div>
 
| 36 = <div style="float:right; clear:right; position:relative; right:-3%; width:49%; margin-bottom:15px; text-align:left;"><span style="font-weight:bold; font-size:70%; color:#777; text-transform:uppercase;">{{{3}}}</span><br />[[#{{{4}}}|{{{4}}}]]</div>
== Usage ==
| 37 = <div style="float:left; clear:left; width:49%; margin-bottom:15px; text-align:left;"><span style="font-weight:bold; font-size:70%; color:#777; text-transform:uppercase;">{{{3}}}</span><br />[[#{{{4}}}|{{{4}}}]]</div>
Put this template in the table of contents.
| 38 = <div style="float:right; clear:right; position:relative; right:-3%; width:49%; margin-bottom:15px; text-align:left;"><span style="font-weight:bold; font-size:70%; color:#777; text-transform:uppercase;">{{{3}}}</span><br />[[#{{{4}}}|{{{4}}}]]</div>
 
| 39 = <div style="float:left; clear:left; width:49%; margin-bottom:15px; text-align:left;"><span style="font-weight:bold; font-size:70%; color:#777; text-transform:uppercase;">{{{3}}}</span><br />[[#{{{4}}}|{{{4}}}]]</div>
  <nowiki>{{</nowiki>'''Newsletter-cover-item'''<nowiki>|</nowiki>subsection<nowiki>}}</nowiki>
| 310 = <div style="float:right; clear:right; position:relative; right:-3%; width:49%; margin-bottom:15px; text-align:left;"><span style="font-weight:bold; font-size:70%; color:#777; text-transform:uppercase;">{{{3}}}</span><br />[[#{{{4}}}|{{{4}}}]]</div>
 
| 311 = <div style="float:left; clear:left; width:49%; margin-bottom:15px; text-align:left;"><span style="font-weight:bold; font-size:70%; color:#777; text-transform:uppercase;">{{{3}}}</span><br />[[#{{{4}}}|{{{4}}}]]</div>
; subsection: Mandatory title of the article/subsection to be shown in the table of contents.  Must match the title given in {{tl|Newsletter-article-start}}.
| 312 = <div style="float:right; clear:right; position:relative; right:-3%; width:49%; margin-bottom:15px; text-align:left;"><span style="font-weight:bold; font-size:70%; color:#777; text-transform:uppercase;">{{{3}}}</span><br />[[#{{{4}}}|{{{4}}}]]</div>
 
| 313 = <div style="float:left; clear:left; width:49%; margin-bottom:15px; text-align:left;"><span style="font-weight:bold; font-size:70%; color:#777; text-transform:uppercase;">{{{3}}}</span><br />[[#{{{4}}}|{{{4}}}]]</div>
== Examples ==
| 314 = <div style="float:right; clear:right; position:relative; right:-3%; width:49%; margin-bottom:15px; text-align:left;"><span style="font-weight:bold; font-size:70%; color:#777; text-transform:uppercase;">{{{3}}}</span><br />[[#{{{4}}}|{{{4}}}]]</div>
<nowiki><div style="border-bottom:3px double #BBB;">
| 315 = <div style="float:left; clear:left; width:49%; margin-bottom:15px; text-align:left;"><span style="font-weight:bold; font-size:70%; color:#777; text-transform:uppercase;">{{{3}}}</span><br />[[#{{{4}}}|{{{4}}}]]</div>
{| width="100%" |
| 316 = <div style="float:right; clear:right; position:relative; right:-3%; width:49%; margin-bottom:15px; text-align:left;"><span style="font-weight:bold; font-size:70%; color:#777; text-transform:uppercase;">{{{3}}}</span><br />[[#{{{4}}}|{{{4}}}]]</div>
| valign="top" width="33%" |
| 317 = <div style="float:left; clear:left; width:49%; margin-bottom:15px; text-align:left;"><span style="font-weight:bold; font-size:70%; color:#777; text-transform:uppercase;">{{{3}}}</span><br />[[#{{{4}}}|{{{4}}}]]</div>
{{Newsletter-cover-header|Development news}}<br/>
| 318 = <div style="float:right; clear:right; position:relative; right:-3%; width:49%; margin-bottom:15px; text-align:left;"><span style="font-weight:bold; font-size:70%; color:#777; text-transform:uppercase;">{{{3}}}</span><br />[[#{{{4}}}|{{{4}}}]]</div>
{{Newsletter-cover-item|FlightGear 3.2 - Feature Freeze}}<br/>
|}
</div></nowiki>
 
<div style="border-bottom:3px double #BBB;">
{{{!}} width="100%" {{!}}
{{!}} valign="top" width="33%" {{!}}
{{Newsletter-cover-header|Development news}}<br/>
{{Newsletter-cover-item|FlightGear 3.2 - Feature Freeze}}<br/>
{{!}}}
</div>
 
== Related templates ==
* {{tl|Newsletter-article-start}}
* {{tl|Newsletter-cover-header}}
* {{tl|Newsletter-header}}
 
}}
}}
[[Category:Newsletter templates]]
</noinclude>

Latest revision as of 17:01, 1 November 2014

[[#{{{1}}}|{{{1}}}]]

The following template description is not displayed when the template is inserted in an article.

Goal

This template is used for article/subsection headings in the table of contents for the FlightGear Newsletter beginning with the July 2014 edition.

Usage

Put this template in the table of contents.

{{Newsletter-cover-item|subsection}}
subsection
Mandatory title of the article/subsection to be shown in the table of contents. Must match the title given in {{Newsletter-article-start}}.

Examples

<div style="border-bottom:3px double #BBB;">
{| width="100%" |
| valign="top" width="33%" |
{{Newsletter-cover-header|Development news}}<br/>
{{Newsletter-cover-item|FlightGear 3.2 - Feature Freeze}}<br/>
|}
</div>

Related templates