Template:Year in Norway: Difference between revisions
Appearance
Content deleted Content added
removing explicit line break after cat |
Fix for blank line when template is used after another template like {{Use dmy dates}} |
||
Line 2: | Line 2: | ||
** First check that a parameter has been supplied. |
** First check that a parameter has been supplied. |
||
** If it is missing, then display a big red bold warning |
** If it is missing, then display a big red bold warning |
||
-->{{#if:{{{1|}}}||<span style="color:red; font-size:130%">'''Template:Year in Norway''': Parameter 1=''year'' required!</span>}}<!-- |
-->{{#if:{{{1|}}}|<nowiki/>|<span style="color:red; font-size:130%">'''Template:Year in Norway''': Parameter 1=''year'' required!</span>}}<!-- |
||
** begin the main div which creates the box |
** begin the main div which creates the box |
||
--> |
--> |
Revision as of 16:25, 3 November 2013
![]() | This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. You can conduct experiments, and should test all major changes, in either this template's sandbox, the general template sandbox, or your user space before changing anything here. |
This template displays a navigation box for use in articles in the Years in Norway series.
- Syntax:
{{Year in Norway|
year}}
- The year must be a year AD.
Usage
- Include the template in the first line of the article.
- Do not subst the template.
Examples
««« 1813 1812 1811 |
|
»»» 1815 1816 1817 | ||||||
|
{{Year in Norway|1814}}
««« 1996 1995 1994 |
|
»»» 1998 1999 2000 | ||||||
|
{{Year in Norway|1997}}