Difference between revisions of "Template:Newspaper"
From eRepublik Official Wiki
m (Don't categorise translations to media of x.) |
(small corrections) |
||
Line 29: | Line 29: | ||
|subscribers={{{subscribers|}}} | |subscribers={{{subscribers|}}} | ||
|articles={{{articles|}}} | |articles={{{articles|}}} | ||
− | |content={{{content|}}}{{{style|}}} | + | |content={{{content|}}} |
+ | |style={{{style|}}} | ||
}} | }} | ||
|} | |} | ||
Line 35: | Line 36: | ||
</div> | </div> | ||
− | {{#ifeq:{{ | + | {{#ifeq: {{NAMESPACE}}|| |
{{#if: {{{nocat|}}}|| | {{#if: {{{nocat|}}}|| | ||
{{#if: {{{country|}}}|[[Category:Media of {{{country}}}]]|[[Category:Newspapers]]}} | {{#if: {{{country|}}}|[[Category:Media of {{{country}}}]]|[[Category:Newspapers]]}} | ||
− | }} | + | {{#ifeq: {{BASEPAGENAME}}|{{SUBPAGENAME}}| |
− | |[[Category:{{SUBPAGENAME}}]]}} | + | |[[Category:{{SUBPAGENAME}}]]}}}}}} |
</includeonly> | </includeonly> | ||
<noinclude> | <noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> |
Latest revision as of 16:12, 8 July 2019
| ||||||||||
|
This is a template for pages regarding Newspapers.
Usage
{{Newspaper |name= |number= |logo= |general= |country= |language= |owner= |founded= |readership= |subscribers= |articles= |content= |style= }}
Parameters
- name - The name.
- number - The Unique number (digits after the name of the newspaper) when looking at the newspapers page, e.g. the number is 81:
http://www.erepublik.com/en/main/newspaper/erepublik-insider-81/1
- logo - The logo.
- general - Type 'hide' or 'show' for automatic showing the section or not
- country - The country it is located in.
- language - The language it is written in.
- owner - The current owner.
- founded - When it was first established.
- readership - Type 'hide' or 'show' for automatic showing the section or not
- subscribers - The number of current subscribers.
- articles - The number of current articles.
- content - The type of content published, e.g. Political, economical, various etc...
- style - The style of writing
Examples
Update April 2010
- Complete rewrite
- Backwards compatible
- New look and feel
Update March 2014
- Link correction
- Examples added