Difference between revisions of "News Guide"

From BattleMaster Wiki
Jump to navigation Jump to search
(basic guide - see talk page)
 
(going over and clarifying sections)
Line 1: Line 1:
 +
Some of you may wish to contribute to one of the 'newspapers' that are available. First off, it is not just as easy as putting the articles in the right spot and clicking 'submit', it takes a bit of fiddling to get the layout right. If you don't think you'll be able to do it properly without messing up, it's probably better you leave your article on the talk page for the issue you want to submit an article for and let someone who knows how to do it correctly put it in for you.
 +
 
==Templates used for News==
 
==Templates used for News==
  
Line 23: Line 25:
 
The templates above allow easy creation of "newspaper" pages, if used correctly. To put a page together, you use a number of the templates as shown above.
 
The templates above allow easy creation of "newspaper" pages, if used correctly. To put a page together, you use a number of the templates as shown above.
  
To use a template, you need to first look at the template and see what variables they have. For all article templates, the variables are called ''title'' and ''article''. For example, to make a major article, spanning two-thirds of the page, that will appear dominantly on the right side of the page, with title 'Battle in [[Far East]]' and the article consisting of 'Today, there was a battle in a southern region of the Far East...' then you would edit that part of the page as such:
+
All the templates have various features. The header template allows you to organise the top of your newspaper, with headings, prices and issue numbers. The major and minor article templates are for determining specific positions within your page. These are further discussed below.
 +
 
 +
With templates, there are tags for where information should go. The purpose of the template is to allow you to provide this information, without having to mess around with formatting. For example, the section below:
  
 
<pre><nowiki>
 
<pre><nowiki>
Line 32: Line 36:
 
</nowiki></pre>
 
</nowiki></pre>
  
This will show the following:
+
Will give the effect shown on the right.
  
 
{{Template:News_major_large_right|
 
{{Template:News_major_large_right|
Line 39: Line 43:
 
}}
 
}}
  
As you can see, you use double squiggly brackets to open, followed by the template page and a pipe |. From there, you define any variable you want by writing the variable name and and using an equals sign to apply any value (in this case, article or title) you want. You then use pipes after each entry until you reach the last one, where you do not pipe but use double close squiggly brackets. It is not necessary to spread it out one per line, however it makes it easier to come back to and edit later.
+
You use squiggly brackets to begin and end a template section. When in between the brackets, first you name what template you want to use (in the above case, this is Template:News_major_large_right). This is followed by a pipe. A pipe determines where each section ends. Following the template, you start providing the raw data. To find the tags that you need to use, you can click to the template directly and it will show you where the tags are and what they are called. In the above case, the title tag provides the title for the article and the article tag is the article itself. Notice there is no pipe at the end of the last piece of data - it goes straight back to brackets.
 +
 
 +
==Understanding what each template does==
 +
 
 +
The templates divide sections up in certain ways.
 +
 
 +
===Major News===
 +
 
 +
Major news templates are the ones for articles you would expect for a front cover of a newspaper. You can tell them apart because they have 'major' in the name of the template. Major templates divide the page into thirds, and each template deals with these columns in certain ways.
 +
 
 +
* [[Template:News_major_large_right]] places the article on the right-hand-side of the page, covering two-thirds of the page (leaving the third on the left blank, or filled with another template).
 +
* [[Template:News_major_large_left]] does the same as above, except placing the article on the left.
 +
* [[Template:News_major_small_right]] produces an article orientated on the right side of the page, which only covers one third of the page.
 +
* [[Template:News_major_small_left]] does the same, except left orientated.
 +
* [[Template:News_major_fullpage]] creates an article which is spread across the entire width of the page.
 +
* [[Template:News_major_columns]] creates space for three articles, each in their own third of the page. The tags for this template are different: title_left, title_center, title_right and respective article tags are used to define which column each article should go in.
 +
 
 +
===Minor News===
 +
 
 +
Minor news templates deal with articles that are not as large or important as major articles. With minor news templates, the page is divided in different ways for each template.
 +
 
 +
* [[Template:News_minor_left]] divides the page in half, and places the article on the left hand side of the page.
 +
* [[Template:News_minor_right]] does the same, except for the right.
 +
* [[Template:News_minor_fullpage]] creates an article spanning the entire width of the page.
 +
* [[Template:News_minor_columns]] divides the page into three, and each article is in its own third. The tags for this template follow the same system as for major articles in columns.
 +
 
 +
==Mixing and Matching templates together==
 +
 
 +
Templates usually have an opposite so that the entire page is filled. For example, the [[Template:News_major_large_right]] will place that article on the right two-thirds of the page, and [[Template:News_major_small_left]] will fill the empty space on the left. It is possible, although not recommended, to mix and match minor and major templates together, as the minor left and right pages are based on 50% rather than 33% divisions, and may cause formatting errors. For example, it would be possible to make a page with a minor left and a small major right template side by side, as 50% + 33% = 83%, and would fit within the margins of the page (although there would be a large blank space down the middle). However, with a large major right template, the sum of the two would equal 116%, which will invariably cause formatting errors.
 +
 
 +
Templates need not line up 1:1. If you have a single long major article and two smaller major articles, you can use one template to put the long article on one side, then use the opposite template twice so the two smaller articles appear next to the major article, one underneath the other.
  
As you can see above, major articles are split up into 'large' or 'small'. 'Large' major articles cover approximately two-thirds of the page, and 'small' covers one-third. This is so two large articles can be made side by side, as you would see at the beginning of any news page. There is also 'fullpage', where the article spans the entire page, and 'columns', where there the page is divided into three columns for articles to go in (the names are title_left, title_center, title_right, and the same for articles in this case).
+
==See Also==
  
Minor articles have left or right divisions, which are split up to cover half the page each. It is possible in some cases, but not recommended, to try and place major and minor articles side by side, as they are formatted for different widths (50% and 33% increments, for minor and major respectively). The fullpage and columns templates work in the same fashion as their respective major pairs.
+
* [[Sample news page]]
  
 
[[Category:Island News]]
 
[[Category:Island News]]

Revision as of 16:53, 29 July 2005

Some of you may wish to contribute to one of the 'newspapers' that are available. First off, it is not just as easy as putting the articles in the right spot and clicking 'submit', it takes a bit of fiddling to get the layout right. If you don't think you'll be able to do it properly without messing up, it's probably better you leave your article on the talk page for the issue you want to submit an article for and let someone who knows how to do it correctly put it in for you.

Templates used for News

Major articles

Minor articles

How to write a "Newspaper"

The templates above allow easy creation of "newspaper" pages, if used correctly. To put a page together, you use a number of the templates as shown above.

All the templates have various features. The header template allows you to organise the top of your newspaper, with headings, prices and issue numbers. The major and minor article templates are for determining specific positions within your page. These are further discussed below.

With templates, there are tags for where information should go. The purpose of the template is to allow you to provide this information, without having to mess around with formatting. For example, the section below:

{{Template:News_major_right|
title =Battle in Far East|
article =Today, there was a battle in a southern region of the Far East...
}}

Will give the effect shown on the right.

Battle in Far East
Today, there was a battle in a southern region of the Far East...

You use squiggly brackets to begin and end a template section. When in between the brackets, first you name what template you want to use (in the above case, this is Template:News_major_large_right). This is followed by a pipe. A pipe determines where each section ends. Following the template, you start providing the raw data. To find the tags that you need to use, you can click to the template directly and it will show you where the tags are and what they are called. In the above case, the title tag provides the title for the article and the article tag is the article itself. Notice there is no pipe at the end of the last piece of data - it goes straight back to brackets.

Understanding what each template does

The templates divide sections up in certain ways.

Major News

Major news templates are the ones for articles you would expect for a front cover of a newspaper. You can tell them apart because they have 'major' in the name of the template. Major templates divide the page into thirds, and each template deals with these columns in certain ways.

Minor News

Minor news templates deal with articles that are not as large or important as major articles. With minor news templates, the page is divided in different ways for each template.

Mixing and Matching templates together

Templates usually have an opposite so that the entire page is filled. For example, the Template:News_major_large_right will place that article on the right two-thirds of the page, and Template:News_major_small_left will fill the empty space on the left. It is possible, although not recommended, to mix and match minor and major templates together, as the minor left and right pages are based on 50% rather than 33% divisions, and may cause formatting errors. For example, it would be possible to make a page with a minor left and a small major right template side by side, as 50% + 33% = 83%, and would fit within the margins of the page (although there would be a large blank space down the middle). However, with a large major right template, the sum of the two would equal 116%, which will invariably cause formatting errors.

Templates need not line up 1:1. If you have a single long major article and two smaller major articles, you can use one template to put the long article on one side, then use the opposite template twice so the two smaller articles appear next to the major article, one underneath the other.

See Also