Difference between revisions of "Template:Asbox/doc"

From The Broken Dagger Wiki
Jump to: navigation, search
(name)
m
 
(16 intermediate revisions by 10 users not shown)
Line 1: Line 1:
 
{{documentation subpage}}
 
{{documentation subpage}}
<includeonly>{{high-risk|1,700,000+}}</includeonly>
 
 
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
 
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
{{Mbox templates}}
 
 
This is the '''asbox''' or '''article stub box''' meta template. It is the standard template used for creating new or updating existing ''article stub box'' templates. It supports most, if not all, stub template styles.
 
This is the '''asbox''' or '''article stub box''' meta template. It is the standard template used for creating new or updating existing ''article stub box'' templates. It supports most, if not all, stub template styles.
  
Line 73: Line 71:
  
 
====<code>name</code>====
 
====<code>name</code>====
Land Rover Owner International or LRO is the market-leading monthly magazine for [[Land Rover]] enthusiasts published by [[Bauer Consumer Media]], based in Peterborough, United Kingdom.
+
The full page name of the template itself.
 
+
==History==
+
The first issue of Land Rover Owner was launched in July 1987 and featured a picture of [[Captain Mark Phillips]] and his horse on the front cover.  The second issue front cover featured Her Majesty The Queen with her Series III Land Rover. The third front cover marked a change in direction with a Land Rover being driven off-road, which is what has been featured on the front cover ever since.
+
 
+
Land Rover Owner was the brainchild of a group of East Anglian businessmen.  They clearly thought a magazine aimed at Land Rover owners would be snapped up by the country set, hence the pictures of the Royal Family on the first two front covers.
+
 
+
The first issue cost £1 for 40 pages (mainly black and white), but back then there were just two models to write about – the Land Rover and the Range Rover.
+
 
+
The first two issues sold well, but not to the intended audience.  There were tens of thousands of Land Rover enthusiasts who had never had the chance to read a magazine about their favourite subject.  Although Land Rover Owner wasn’t aimed at them , they were snapping it up all the same.
+
 
+
The magazine owners were quick to recognise this and the successful future format of LRO began to take shape.
+
 
+
The event that really captured the public’s imagination two decades ago was the Camel Trophy: rough, tough and politically incorrect, it involved blokes in Land Rovers storming through the world’s remaining wildernesses.  In years to come, the Camel Trophy would become tamer in order to appease its green critics (and thus lose its essential appeal).
+
 
+
It was five years later until greenlining – or ‘green-roading’ as it was known – first featured.
+
 
+
By the end of 1987, LRO was selling 1600 copies a month, including an increasing number in the USA, where the Range Rover had finally been launched (17 years late).  By April 1988 the hunting, shooting and fishing pages were completely replaced by articles more tailored to home mechanics.  April 1988 issue also saw a spoof advert of HUE 166 – the first production Land Rover – up for sale at £20.  Hundreds of readers fell for it.   
+
 
+
In its third year the magazine acknowledged the worldwide interest in the marque by changing its title to Land Rover Owner International.  The price had gone up to £1.50, but the issues were much bigger (88 pages) and packed with the vital information that enthusiasts demanded.
+
 
+
The launch of Land Rover’s third model – the Discovery – was met with a bit of suspicion.  Was it a proper Land Rover?  The Series III was the vehicle of choice for most readers back then.  Even if they’d been converted to the new Discovery, they’d have found it difficult to get their hands on one.  In February 1990 LRO reported that demand was so great, would-be customers were having to wait six months.  In May 1990 LRO reported that the Discovery had become the UK’s best-selling 4x4 with 1533 sold in the first three months of 1990.  As 1990 closed, a copy of LRO was 116 pages and cost £1.75.  By now,  the workshop pages had become hugely successful , with the Q&A format that is still so popular today.  LRO carried a report in the December 1990 issue on the fleets of Land Rovers that were bought with much of the money raised from the Band Aid record Do They Know It’s Christmas? and the subsequent Live Aid concert for the starving population of Ethiopia.
+
 
+
In 1991, LRO continued to grow and featured a perfect-bound (as opposed to stapled) spine for the first time.  It also saw the first appearance of the new front cover logo, which has changed little over the subsequent years.
+
 
+
In the mid-1990s LRO was bought by publishing group Emap (which became Bauer Consumer Media), which invested heavily in the title and strengthened its position in the market without losing its essential appeal to enthusiasts.
+
 
+
Meanwhile, the second-generation Range Rover was launched and the Freelander followed in 1997.  The magazine was now something of a publishing phenomenon with well over 200 pages in every issue – in full colour.
+
 
+
15 years later the magazine is still going strong, with the LRO show [LROshow.com] launched in 2008, held at the East of England Show Ground every year, and an LRO website [LRO.com] which is the UK’s only marketplace dedicated to buying and selling Land Rovers.  
+
 
+
==Editorial Team==
+
The current editorial team is:
+
* Editor – Mike Goodbun
+
* Deputy Editor – Neil Watterson
+
* Assistant Editor – Mark Saville
+
* Technical Editor – Ben Field
+
* Contributing Editor – Peter Galilee
+
* North American Editor – Steve Hoare
+
* Europe Editor – Jerome Andre
+
* Portugal Editor – Jose Almeida
+
* Clubs Editor – Russ Brown
+
  
 
===Examples===
 
===Examples===
Line 170: Line 127:
 
  <nowiki>{{navbar|{{{name}}}|mini=yes|style=position:absolute; right:15px; font-size:smaller; display:none;}}</nowiki>
 
  <nowiki>{{navbar|{{{name}}}|mini=yes|style=position:absolute; right:15px; font-size:smaller; display:none;}}</nowiki>
 
allowing a user to specify with css that three links regarding the stub template are shown (see [{{fullurl:w:Template_talk:Asbox|oldid=313089738#Navbar}}]). A side effect is that a non-existing talk page of the stub template may show up on [[Special:WantedPages]].
 
allowing a user to specify with css that three links regarding the stub template are shown (see [{{fullurl:w:Template_talk:Asbox|oldid=313089738#Navbar}}]). A side effect is that a non-existing talk page of the stub template may show up on [[Special:WantedPages]].
 +
 +
 +
=== TemplateData ===
 +
<pre><templatedata>
 +
{
 +
"description": "Standard template used for creating new or updating existing article stub box templates.",
 +
"params": {
 +
"category": {
 +
"label": "Stub category",
 +
"type": "wiki-page-name",
 +
"description": "The category into which this stub template puts pages.",
 +
"required": true
 +
},
 +
"subject": {
 +
"label": "Subject",
 +
"description": "The subject of the stub template's category.",
 +
"suggested": true
 +
},
 +
"qualifier": {
 +
"label": "Qualifier",
 +
"description": "The sub-subject of the stub template's category."
 +
},
 +
"image": {
 +
"label": "Icon image",
 +
"type": "wiki-file-name",
 +
"description": "Image to use as an icon in the template.",
 +
"suggested": true
 +
},
 +
"imagealt": {
 +
"label": "Icon at text",
 +
"description": "Alt text for the icon, especially for screen readers.",
 +
"default": "Stub icon",
 +
"suggested": true
 +
},
 +
"pix": {
 +
"label": "Icon size",
 +
"description": "Size at which to display the icon."
 +
},
 +
"icon": {
 +
"label": "Icon",
 +
"description": "Icon to show in the template.",
 +
"suggested": true
 +
},
 +
"article": {
 +
"label": "Page name",
 +
"description": "Different term instead of 'article' to use in the template."
 +
},
 +
"note": {
 +
"label": "Note",
 +
"description": "A small note about the stub shown underneath the main text."
 +
},
 +
"name": {
 +
"label": "Template name",
 +
"description": "The name of the template."
 +
},
 +
"category1": {
 +
"label": "Secondary stub category",
 +
"type": "wiki-page-name",
 +
"description": "A secondary category into which this stub template puts pages."
 +
},
 +
"category2": {
 +
"label": "Tertiary stub category",
 +
"type": "wiki-page-name",
 +
"description": "A tertiary category into which this stub template puts pages."
 +
},
 +
"tempsort": {
 +
"label": "Stub category sort prefix",
 +
"description": "If set to a value other than 'no', a prefix for sorting pages in the category."
 +
},
 +
"tempsort1": {
 +
"label": "Secondary stub category sort prefix",
 +
"description": "If set to a value other than 'no', a prefix for sorting pages in the secondary category."
 +
},
 +
"tempsort2": {
 +
"label": "Tertiary stub category sort prefix",
 +
"description": "If set to a value other than 'no', a prefix for sorting pages in the tertiary category."
 +
}
 +
}
 +
}
 +
</templatedata></pre>
  
 
=== See also ===
 
=== See also ===
Line 176: Line 213:
 
{{Mbox templates see also}}
 
{{Mbox templates see also}}
  
{{mbox template family}}
 
  
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||

Latest revision as of 10:27, 13 July 2014

This is the asbox or article stub box meta template. It is the standard template used for creating new or updating existing article stub box templates. It supports most, if not all, stub template styles.

Basic usage

{{asbox
| image     = just the name of the image, e.g. Image.png - will be sized at 40x30px
| subject   = given before "article", e.g. "this *biographical* article is a stub"
| qualifier = given after "article" e.g. "this article *about a musician* is a stub"
| category  = just the name of the category to place tagged pages in, e.g. History stubs
| name      = the full name of the stub template itself, used to reference itself internally
}}

This simple usage should suffice for a great many stub templates. Additional parameters are described below for advanced use.

Full usage

{{asbox
| image     = Ambox style.png
| pix       = 
| subject   = 
| article   = 
| qualifier = 
| category  = 
| tempsort  = 
| category1 = 
| tempsort1 = 
| note      = 
| name      = {{subst:FULLPAGENAME}}
}}

Parameters

icon or image

If the image is called with an icon template, icon is set to the full syntax of the template; that's the name of the template, plus any arguments (separated with | ), including the {{ and }} around it. Icon can also be used to provide the full image markup (include the opening and closing square brackets), if special image settings such as "border" are to be used. If the image is called explicitly image is the name of the image :- pix will likely be required as well, the default value for pix is 40x30.

imagealt may be used to override the default alt text which is set to "Stub icon".

pix

The size of the image in pixels (no need to append px). Only required if image is used and this image requires a size different from the default maximum of 40x30 pixels. (Note that in the interests of standardising the formats of stub messages, images of size 40x30 are much preferred.)

subject and qualifier

This subject article qualifier is a stub...

Examples:

  • This geography article about a place in Rohan is a stub...
  • This elementary physics article is a stub...
  • This article about Rudolph the Red-nosed reindeer is a stub...

category

The stub category the articles should go in.

tempsort

If exists the stub template (and any other templates) will be put in its own category sorted as " " (space) followed by tempsort, otherwise it will be sorted with the value of " " (space) followed by the template name.

category1

An optional second stub category the articles should go in.

tempsort1

If exists the stub template (and any other templates) will be put in its own category sorted as " " (space) followed by tempsort1, otherwise it will be sorted with the value of " " (space) followed by the template name.

category2

An optional third stub category the articles should go in.

tempsort2

If exists the stub template (and any other templates) will be put in its own category sorted as " " (space) followed by tempsort2, otherwise it will be sorted with the value of " " (space) followed by the template name.

note

If exists the value will be added, as a "small" note, to the stub template.

name

The full page name of the template itself.

Examples

Using image

Based on {{Østfold-geo-stub}}:

{{Asbox
 | image     = Østfold_våpen.svg
 | pix       = 30
 | subject   = [[Østfold]] location
 | category  = Østfold geography stubs
 | tempsort  = *
 | name      = Template:Østfold-geo-stub
}}

appears as:

Using icon and category1

Using icon allows more flexibility in some circumstances than image and pix, since it can be used with templates. Based on {{Wales-footy-bio-stub}}:

{{asbox
| icon      = {{Soccer icon|Wales|50}}
| subject   = biographical
| qualifier = related to Welsh association football
| category  = Welsh football biography stubs
| tempsort  = * 
| name      = Template:Wales-footy-bio-stub
}}

appears as:

Whatlinkshere

The page here should have a complete list of all templates using this template. This list can be compared with existing list of stub templates to identify new stub templates created out of process. The last entries will also be the most recently created items.

Navbar

This template contains:

{{navbar|{{{name}}}|mini=yes|style=position:absolute; right:15px; font-size:smaller; display:none;}}

allowing a user to specify with css that three links regarding the stub template are shown (see [1]). A side effect is that a non-existing talk page of the stub template may show up on Special:WantedPages.


TemplateData

<templatedata>
{
	"description": "Standard template used for creating new or updating existing article stub box templates.",
	"params": {
		"category": {
			"label": "Stub category",
			"type": "wiki-page-name",
			"description": "The category into which this stub template puts pages.",
			"required": true
		},
		"subject": {
			"label": "Subject",
			"description": "The subject of the stub template's category.",
			"suggested": true
		},
		"qualifier": {
			"label": "Qualifier",
			"description": "The sub-subject of the stub template's category."
		},
		"image": {
			"label": "Icon image",
			"type": "wiki-file-name",
			"description": "Image to use as an icon in the template.",
			"suggested": true
		},
		"imagealt": {
			"label": "Icon at text",
			"description": "Alt text for the icon, especially for screen readers.",
			"default": "Stub icon",
			"suggested": true
		},
		"pix": {
			"label": "Icon size",
			"description": "Size at which to display the icon."
		},
		"icon": {
			"label": "Icon",
			"description": "Icon to show in the template.",
			"suggested": true
		},
		"article": {
			"label": "Page name",
			"description": "Different term instead of 'article' to use in the template."
		},
		"note": {
			"label": "Note",
			"description": "A small note about the stub shown underneath the main text."
		},
		"name": {
			"label": "Template name",
			"description": "The name of the template."
		},
		"category1": {
			"label": "Secondary stub category",
			"type": "wiki-page-name",
			"description": "A secondary category into which this stub template puts pages."
		},
		"category2": {
			"label": "Tertiary stub category",
			"type": "wiki-page-name",
			"description": "A tertiary category into which this stub template puts pages."
		},
		"tempsort": {
			"label": "Stub category sort prefix",
			"description": "If set to a value other than 'no', a prefix for sorting pages in the category."
		},
		"tempsort1": {
			"label": "Secondary stub category sort prefix",
			"description": "If set to a value other than 'no', a prefix for sorting pages in the secondary category."
		},
		"tempsort2": {
			"label": "Tertiary stub category sort prefix",
			"description": "If set to a value other than 'no', a prefix for sorting pages in the tertiary category."
		}
	}
}
</templatedata>

See also

There are seven meta-templates in the Module:Message box family:

  • {{ambox}} – For article message boxes.
  • {{cmbox}} – For category message boxes.
  • {{imbox}} – For file (image) page message boxes.
  • {{fmbox}} – For header and footer message boxes.
  • {{mbox}} – Has namespace detection, for message boxes that are used on several types of pages and thus need to change style depending on what page they are used on.
  • {{ombox}} – For other pages message boxes.
  • {{tmbox}} – For talk page message boxes.

Closely related meta-templates:

  • {{asbox}} – For article stub message boxes.
  • {{dmbox}} – For disambiguation and set index message boxes.
  • {{ivmbox}} – A simplistic, full-width box intended to surround important messages or notices, with an ivory background by default.