Difference between revisions of "Editor manual"

Jump to navigation Jump to search
m
→‎Timeline - Year...: Changed example to German, as there is already a translated Timeline
m (Text replacement - "16px|text-bottom|" to "{{IconWorld}}")
m (→‎Timeline - Year...: Changed example to German, as there is already a translated Timeline)
(28 intermediate revisions by 4 users not shown)
Line 83: Line 83:
<span style="background:RED; color:#ffffff;">For copyright reasons, any individual tile images (such as in Tile Distribution on Expansion pages) have to be no more than 120 pixels by 120 pixels.</span>
<span style="background:RED; color:#ffffff;">For copyright reasons, any individual tile images (such as in Tile Distribution on Expansion pages) have to be no more than 120 pixels by 120 pixels.</span>


=== How to insert tile distribution ===
=== How to insert tile distribution (template) ===


Tiles will automatically arrange over the web page. With a max of 5 tiles.
Tiles will automatically arrange over the web page. With a max of 5 tiles.
Line 135: Line 135:
** '''Padding-right:''' Optional. Defaults to "15px". Padding added to the right-hand side of the image to control horizontal spacing between consecutive images.
** '''Padding-right:''' Optional. Defaults to "15px". Padding added to the right-hand side of the image to control horizontal spacing between consecutive images.
** '''Padding-bottom:''' Optional. Defaults to "15px". Padding added to the bottom side of the image to control vertical spacing between consecutive rows.
** '''Padding-bottom:''' Optional. Defaults to "15px". Padding added to the bottom side of the image to control vertical spacing between consecutive rows.
* '''Deprecated method:'''
(Example with 3 columns per row by default)
<pre>
'''Total Tiles: 6'''
<div style="display:flex; flex-wrap:wrap; max-width:500px;">
<div style="padding-right: 15px; padding-bottom: 15px; white-space: nowrap;">[[File:Inns_C1_01.jpg]]x1</div>
<div style="padding-right: 15px; padding-bottom: 15px; white-space: nowrap;">[[File:Inns_C1_02.jpg]]x2</div>
<div style="padding-right: 15px; padding-bottom: 15px; white-space: nowrap;">[[File:Inns_C1_03.jpg]]x6</div>
<div style="padding-right: 15px; padding-bottom: 15px; white-space: nowrap;">[[File:Inns_C1_04.jpg]]x1</div>
<div style="padding-right: 15px; padding-bottom: 15px; white-space: nowrap;">[[File:Inns_C1_05.jpg]]x9</div>
<div style="padding-right: 15px; padding-bottom: 15px; white-space: nowrap;">[[File:Inns_C1_06.jpg]]x1</div>
</div>
</pre>


'''Total Tiles: 6'''
=== How to insert wrap-enabled blocks (template) ===
<div style="display:flex; flex-wrap:wrap; max-width:500px;">
<div style="padding-right: 15px; padding-bottom: 15px; white-space: nowrap;">[[File:Inns_C1_01.jpg]]x1</div>
<div style="padding-right: 15px; padding-bottom: 15px; white-space: nowrap;">[[File:Inns_C1_02.jpg]]x2</div>
<div style="padding-right: 15px; padding-bottom: 15px; white-space: nowrap;">[[File:Inns_C1_03.jpg]]x6</div>
<div style="padding-right: 15px; padding-bottom: 15px; white-space: nowrap;">[[File:Inns_C1_04.jpg]]x1</div>
<div style="padding-right: 15px; padding-bottom: 15px; white-space: nowrap;">[[File:Inns_C1_05.jpg]]x9</div>
<div style="padding-right: 15px; padding-bottom: 15px; white-space: nowrap;">[[File:Inns_C1_06.jpg]]x1</div>
</div>
 
=== How to insert wrap-enabled blocks ===


The same layout approach provided for tile distributions can be applied to any HTML block (DIVs, TABLES or images) so they can be displayed on a row and wrap when necessary. If blocks are of different heights, they will be top aligned.
The same layout approach provided for tile distributions can be applied to any HTML block (DIVs, TABLES or images) so they can be displayed on a row and wrap when necessary. If blocks are of different heights, they will be top aligned.
Line 260: Line 233:
** '''Padding-bottom:''' Optional. Defaults to "15px". Padding added to the bottom side of the image to control vertical spacing between consecutive rows.
** '''Padding-bottom:''' Optional. Defaults to "15px". Padding added to the bottom side of the image to control vertical spacing between consecutive rows.


=== How to insert icons ===
=== How to insert icons (template) ===


Please refer to [[Icons|Icons page]] and use customized toolbar (icons 2 to 6 from the left):
Please refer to [[Icons|Icons page]] and use customized toolbar (icons 2 to 6 from the left):
Line 278: Line 251:
|}
|}


=== How to insert footnotes ===
=== How to insert footnotes (template) ===


Please use customized toolbar ( '''R''' button ):
Please use customized toolbar ( '''R''' button ):
Line 293: Line 266:
<pre>{{FootnoteIconPara_en}}</pre>
<pre>{{FootnoteIconPara_en}}</pre>


=== How to enter years ===
=== How to enter years (template) ===


You can use following template to enter years, so they are changed into links to [[Timeline|timeline page]]. You can also use calendar icon from customized toolbar.
You can use following template to enter years, so they are changed into links to [[Timeline|timeline page]]. You can also use calendar icon from customized toolbar.
Line 305: Line 278:
|}
|}


=== How to color text ===
=== How to color text (template) ===


Black is Default colour. Add three single quotes before and after to make '''BOLD''' and two single quotes for ''italics''. You can set text to white, but will need to define a background colour or highlight.
Black is Default colour. Add three single quotes before and after to make '''BOLD''' and two single quotes for ''italics''. You can set text to white, but will need to define a background colour or highlight.
Line 337: Line 310:
For more colors [https://meta.wikimedia.org/wiki/Help:Text_color check wikimedia help page]
For more colors [https://meta.wikimedia.org/wiki/Help:Text_color check wikimedia help page]


=== Color coding the rules ===
=== Color coding the rules (template) ===


Carcassonne 2 manual consists of color coded parts. How to use them:
Carcassonne 2 manual consists of color coded parts. How to use them:
Line 351: Line 324:
}}
}}


The are three templates with appropriate colors:
The are four templates with appropriate colors:
* RulesPlacingTile
* RulesPlacingTile
* RulesPlacingMeeple
* RulesPlacingMeeple
* RulesScoring
* RulesScoring
* RulesAction
=== Question/Answer box ===
=== Interim rules (template) ===
Please check note on [[Interim_rules|Interim rules]].
<pre>{{InterimRule|Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed congue fringilla tortor a suscipit. Vivamus interdum ante augue, quis blandit ante rutrum rutrum. Interdum et malesuada fames ac ante ipsum primis in faucibus. Pellentesque nec orci feugiat, placerat nunc non, vehicula libero. Nulla a aliquet libero, quis dictum nisl...}}</pre>
{{InterimRule|Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed congue fringilla tortor a suscipit. Vivamus interdum ante augue, quis blandit ante rutrum rutrum. Interdum et malesuada fames ac ante ipsum primis in faucibus. Pellentesque nec orci feugiat, placerat nunc non, vehicula libero. Nulla a aliquet libero, quis dictum nisl...}}
=== Frequently asked question box (template) ===
'''Default width (400px)'''
<pre>{{FAQ|If the fairy is on the same tile as the losing heretic or monk in a challenge, does the player still score the bonus 3 points?
|When a challenge is resolved (that is, when someone has won), both followers are returned to the player, so no one stands next to the fairy. [At the point that a challenge is resolved and one participant “scores” zero, the building that participant is in will be incomplete. Therefore, strictly speaking, that participant does not actually take part in “scoring”—say, in the way that a player without the majority in a city does—and so does not score the bonus points—ed.]
}}</pre>
{{FAQ|If the fairy is on the same tile as the losing heretic or monk in a challenge, does the player still score the bonus 3 points?
|When a challenge is resolved (that is, when someone has won), both followers are returned to the player, so no one stands next to the fairy. [At the point that a challenge is resolved and one participant “scores” zero, the building that participant is in will be incomplete. Therefore, strictly speaking, that participant does not actually take part in “scoring”—say, in the way that a player without the majority in a city does—and so does not score the bonus points—ed.]
}}
'''Other widths'''
Include parameter "3=XXXpx" when invoking the template. That parameter defaults to "400px" as seen above.
<pre>{{FAQ|3=600px|If the fairy is on the same tile as the losing heretic or monk in a challenge, does the player still score the bonus 3 points?
|When a challenge is resolved (that is, when someone has won), both followers are returned to the player, so no one stands next to the fairy. [At the point that a challenge is resolved and one participant “scores” zero, the building that participant is in will be incomplete. Therefore, strictly speaking, that participant does not actually take part in “scoring”—say, in the way that a player without the majority in a city does—and so does not score the bonus points—ed.]
}}</pre>
{{FAQ|3=600px|If the fairy is on the same tile as the losing heretic or monk in a challenge, does the player still score the bonus 3 points?
|When a challenge is resolved (that is, when someone has won), both followers are returned to the player, so no one stands next to the fairy. [At the point that a challenge is resolved and one participant “scores” zero, the building that participant is in will be incomplete. Therefore, strictly speaking, that participant does not actually take part in “scoring”—say, in the way that a player without the majority in a city does—and so does not score the bonus points—ed.]
}}
=== Disclaimer template (template) ===
To be used sparingly ...
<pre>
{{Disclaimer|
The precise status of this set is difficult. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce libero turpis, laoreet eu mi et, varius gravida sapien. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Maecenas facilisis erat at nisl fringilla, sed condimentum augue congue. Integer id vulputate lorem. Maecenas neque sapien, tristique sed mattis sed, commodo ac lorem. Phasellus varius libero ultricies turpis placerat, nec sollicitudin mauris facilisis. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Cras finibus auctor dui, eget mattis risus ultricies ut. Phasellus gravida erat eleifend, blandit lorem a, tristique quam.
}}
</pre>
{{Disclaimer|
The precise status of this set is difficult. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce libero turpis, laoreet eu mi et, varius gravida sapien. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Maecenas facilisis erat at nisl fringilla, sed condimentum augue congue. Integer id vulputate lorem. Maecenas neque sapien, tristique sed mattis sed, commodo ac lorem. Phasellus varius libero ultricies turpis placerat, nec sollicitudin mauris facilisis. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Cras finibus auctor dui, eget mattis risus ultricies ut. Phasellus gravida erat eleifend, blandit lorem a, tristique quam.
}}


=== Workflow Page Categories ===
=== Workflow Page Categories ===
Line 410: Line 432:


== Page translation ==
== Page translation ==
To maintain consistency all over the WICA, we work with a flow from English to all other languages.
If you find '''any content error''' while translating; '''do not translate''' that part, but report the problem so we can tackle it from the English page to roll it out to all other languages to! 
'''If you''' change it in the English version, please ask before submitting it as Checked and ready for translation. So it can be checked(by another person) and then rolled out to all other languages to.
For questions about translated pages, you can go to the according translator; See a list below of the translators:
{| class="wikitable"
|+
!Language !! Code || ||
|-
| Dutch  || nl || [[user:Sinscerly|Sinscerly]]    ||
|-
| French  || fr || [[user:Eloniel|Eloniel]]        ||
|-
| German  || de || [[user:Murphy013|Murphy013]]    ||
|-
| Italian || it || [[user:Mardic|Mardic]]          ||
|-
| Persian || fa || [[user:Davari|Davari]]          ||
|-
| Polish  || pl || [[user:MajFrost|MajFrost]]      || [[user:Neosatan|Neosatan]]
|-
| Spanish || es || [[user:Meepledrone|Meepledrone]] ||
|}


=== How to create page in my language ===
=== How to create page in my language ===
Line 446: Line 494:
Visit [[Special:LanguageStats]] and choose your language code. Language code is case sensitive.
Visit [[Special:LanguageStats]] and choose your language code. Language code is case sensitive.


=== How translate links ===
=== How translate: ===
There are two kinds of links, links that leads to other pages or year templates.
 
You can find both while translating a page, as there are sometimes notes about other expansions and with that we link to that certain page, where the information stands.
 
==== Pages ====
 
So this is a link: [[Castles in Germany (1st edition)]]. This link is linking currently to the English page of "Castles in Germany (1st edition)", we want to link to the language we are translating in; So in this example to Polish.
 
While translating the links will look like this:
<pre>
[[Castles in Germany (1st edition)]] OR this [[Castles in Germany (1st edition)|Castles in Germany]]
</pre>
 
Now it needs to be changed into a link linking to the Polish version, so I put "/pl" behind the first part and change the name in the second part to the Polish name of the expansion or page.
<pre>
[[Castles in Germany (1st edition)/pl|Niemieckie Zamki]]
</pre>
 
Now the link will direct to the Polish version: [[Castles in Germany (1st edition)/pl|Niemieckie Zamki]].
 
==== Timeline - Year... ====
 
A timeline link looks like this: {{Year|2001}}. But we want in this example to have it linked to the German version.
<pre>
<pre>
[[Castles in Germany (1st edition)|Castles in Germany]]
{{Year|2001}}
</pre>
</pre>
can be translated using label (polish example):
 
This needs to be changed into your language, so we add "_de" to the first part (German example).


<pre>
<pre>
* [[Castles in Germany (1st edition)/pl|Niemieckie Zamki]]
{{Year_de|2001}}
</pre>
</pre>


so the link to the correct page will be preserved.
Now the year will link to the German timeline instead of the English one: {{Year_de|2001}}.


=== How to translate footnotes heading ===
==== Footnotes headings ====


In English version you must use following template every time there are footnotes. <pre>{{FootnoteIconPara_en}}</pre>
In English version you must use following template every time there are footnotes.  
<pre>{{FootnoteIconPara_en}}</pre>


In translation tool you need to change the name of the template. For example:
In translation tool you need to change the name of the template. For example:
Line 470: Line 543:
</pre>
</pre>


If there is no template in your language it need to be created.
If there is no template in your language it need to be created. Please send a message to [[user:Meepledrone|Meepledrone]] so it can be created(through Carcassonne Central).
 
More information about Footnote Headings: [[Editor manual#How to insert footnotes (template)|Editor manual - How to insert footnotes (template)]]
==== Edition-related categories ====
 
<pre>
[[Category:First Edition]]
</pre>
 
Are translated to:
 
<pre>
[[Category:Erste Edition]]
</pre>
 
More information about Edition-related categories: [[Editor manual#Edition Categories|Editor manual - Edition Categories]]
==== Workflow categories ====
 
<pre>
[[Category:Completed]]
</pre>
 
Are translated to:
 
<pre>
[[Category:Completed|Abgeschlossen]]
</pre>
 
More information about Workflow categories: [[Editor manual#Workflow Page Categories|Editor manual - Workflow Page Categories]]


=== I am getting error when translating ===
=== I am getting error when translating ===

Navigation menu