Difference between revisions of "Editor manual"

Jump to navigation Jump to search
(29 intermediate revisions by 3 users not shown)
Line 84: Line 84:


=== How to insert pictures ===
=== How to insert pictures ===
==== Example image ====
Example images are using template [[:Template:ExampleImage]] which allows to automatically resize image to size of tiles in a row. Also template use same style for name and description of image on every place where template is used.
<code><nowiki>{{ExampleImage|image=....|tiles=3|name=Example 1|description=Description of example}}</nowiki></code> create image for '''Example 1:''' Description of example, with size 400px calculated from parameters <code>tiles</code> which is multiplied by 133px. It shows frame on any place of page, but frame is hidden when example image is place in any of Rules blocks (C2 style).


Please read the [https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Contents User's Guide] and be consistent with the rest of WikiCarPedia. Please check out [[Besiegers Cathars Siege (1st edition)|Besiegers - Cathars - Siege]] page and how the images are inserted there.
Please read the [https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Contents User's Guide] and be consistent with the rest of WikiCarPedia. Please check out [[Besiegers Cathars Siege (1st edition)|Besiegers - Cathars - Siege]] page and how the images are inserted there.
==== Images with links ====
When is used <code>link</code> parameter in <code><nowiki>[[File:...|link=...]]</nowiki></code> - wikicode to insert image, and this link is internal page with special character <code>%</code>, please urldecode id by <code><nowiki><code><nowiki>[[File:...|link={{#urldecode:Hills %26 Sheep}}</nowiki></code> due to internal bug in MediaWiki.
As WkiCarpedia is multi language page. It's better to include link insead of <code>Hans im Gluck</code> use this <code><nowiki>{{Path|Hans in Gluck}}</nowiki></code> which includes link to translated page if source page is not in English.


{{Disclaimer|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.}}
{{Disclaimer|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.}}
Line 101: Line 113:


<pre>
<pre>
{{BeginTileList|600px|tiles=6}}
{{BeginTileList|width=600px|tiles=6}}
{{Tile|Inns_And_Cathedrals_C3_Tile_A.png|config={{Feature|edition=C3|name=Inn}}}}
{{Tile|image=Inns_And_Cathedrals_C3_Tile_A.png|config={{Feature|edition=C3|name=Inn}}}}
{{Tile|Inns_And_Cathedrals_C3_Tile_B.png|coint=2|config={{Feature|edition=C3|name=Inn}} + ({{Feature|edition=C3|name=Garden|variant=abbr}})}}
{{Tile|image=Inns_And_Cathedrals_C3_Tile_B.png|coint=2|config={{Feature|edition=C3|name=Inn}} + ({{Feature|edition=C3|name=Garden|variant=abbr}})}}
{{Tile|Inns_And_Cathedrals_C3_Tile_C.png|count=6|config={{Feature|edition=C3|name=Inn}} + {{Feature|edition=C3|name=Crossroad}} + ({{Feature|edition=C3|name=Pigsty|variant=abbr}})}}
{{Tile|image=Inns_And_Cathedrals_C3_Tile_C.png|count=6|config={{Feature|edition=C3|name=Inn}} + {{Feature|edition=C3|name=Crossroad}} + ({{Feature|edition=C3|name=Pigsty|variant=abbr}})}}
{{Tile|Inns_And_Cathedrals_C3_Tile_D.png|count=1|config={{Feature|edition=C3|name=Monastery}}}}
{{Tile|image=Inns_And_Cathedrals_C3_Tile_D.png|count=1|config={{Feature|edition=C3|name=Monastery}}}}
{{Tile|Inns_And_Cathedrals_C3_Tile_E.png|config=({{Feature|edition=C3|name=Farmhouse|variant=abbr}})}}
{{Tile|image=Inns_And_Cathedrals_C3_Tile_E.png|config=({{Feature|edition=C3|name=Farmhouse|variant=abbr}})}}
{{Tile|Inns_And_Cathedrals_C3_Tile_F.png|config=({{Feature|edition=C3|name=DonkeyStable|variant=abbr}})}}
{{Tile|image=Inns_And_Cathedrals_C3_Tile_F.png|config=({{Feature|edition=C3|name=DonkeyStable|variant=abbr}})}}
{{EndTileList}}
{{EndTileList}}
{{TileIllustrations|edition=C3|G=1|F=1|P=1|D=1}}
{{TileIllustrations|edition=C3|G=1|F=1|P=1|D=1}}
</pre>
</pre>


{{BeginTileList|600px|tiles=6}}
{{BeginTileList|width=600px|tiles=6}}
{{Tile|Inns_And_Cathedrals_C3_Tile_A.png|config={{Feature|edition=C3|name=Inn}}}}
{{Tile|image=Inns_And_Cathedrals_C3_Tile_A.png|config={{Feature|edition=C3|name=Inn}}}}
{{Tile|Inns_And_Cathedrals_C3_Tile_B.png|coint=2|config={{Feature|edition=C3|name=Inn}} + ({{Feature|edition=C3|name=Garden|variant=abbr}})}}
{{Tile|image=Inns_And_Cathedrals_C3_Tile_B.png|coint=2|config={{Feature|edition=C3|name=Inn}} + ({{Feature|edition=C3|name=Garden|variant=abbr}})}}
{{Tile|Inns_And_Cathedrals_C3_Tile_C.png|count=6|config={{Feature|edition=C3|name=Inn}} + {{Feature|edition=C3|name=Crossroad}} + ({{Feature|edition=C3|name=Pigsty|variant=abbr}})}}
{{Tile|image=Inns_And_Cathedrals_C3_Tile_C.png|count=6|config={{Feature|edition=C3|name=Inn}} + {{Feature|edition=C3|name=Crossroad}} + ({{Feature|edition=C3|name=Pigsty|variant=abbr}})}}
{{Tile|Inns_And_Cathedrals_C3_Tile_D.png|count=1|config={{Feature|edition=C3|name=Monastery}}}}
{{Tile|image=Inns_And_Cathedrals_C3_Tile_D.png|count=1|config={{Feature|edition=C3|name=Monastery}}}}
{{Tile|Inns_And_Cathedrals_C3_Tile_E.png|config=({{Feature|edition=C3|name=Farmhouse|variant=abbr}})}}
{{Tile|image=Inns_And_Cathedrals_C3_Tile_E.png|config=({{Feature|edition=C3|name=Farmhouse|variant=abbr}})}}
{{Tile|Inns_And_Cathedrals_C3_Tile_F.png|config=({{Feature|edition=C3|name=DonkeyStable|variant=abbr}})}}
{{Tile|image=Inns_And_Cathedrals_C3_Tile_F.png|config=({{Feature|edition=C3|name=DonkeyStable|variant=abbr}})}}
{{EndTileList}}
{{EndTileList}}
{{TileIllustrations|edition=C3|G=1|F=1|P=1|D=1}}
{{TileIllustrations|edition=C3|G=1|F=1|P=1|D=1}}
Line 125: Line 137:


<pre>
<pre>
{{BeginTileList|width}}
{{BeginTileList|width=<CSSWIDTH>}}
{{Tile|image|text|padding-right|padding-bottom|size=<NUMBER>}}  <-- Replicated as many times as needed
{{Tile|image|text|padding-right|padding-bottom|size=<NUMBER>}}  <-- Replicated as many times as needed
{{EndTileList}}
{{EndTileList}}
Line 133: Line 145:


* Template '''[[Template:BeginTileList|BeginTileList]]''':
* Template '''[[Template:BeginTileList|BeginTileList]]''':
** '''Width:''' Optional. Defaults to "700px". By changing the width, the number of tiles per row can be adjusted. Common sample values can be:
** '''<code>width</code>:''' Optional. Defaults to "700px". By changing the width, the number of tiles per row can be adjusted. Common sample values can be:
*** 700px: 5 tiles per row
*** 700px: 5 tiles per row
*** 600px: 4 tiles per row
*** 600px: 4 tiles per row
Line 163: Line 175:


<pre>
<pre>
{{BeginBlockList|600px}}
{{BeginBlockList|width=600px}}
{{Block|
{{Block|
[[File:Inns_And_Cathedrals_C3_Tile_A.png|frame|none|I'm block one]] And I can do a lot
[[File:Inns_And_Cathedrals_C3_Tile_A.png|frame|none|I'm block one]] And I can do a lot
}}
}}
{{StartBlock|200px}}
{{StartBlock|width=200px}}
{|
{|
|-
|-
Line 177: Line 189:
[[File:Inns_And_Cathedrals_C3_Tile_C.png|frame|none|I'm block three]] And I can do even better
[[File:Inns_And_Cathedrals_C3_Tile_C.png|frame|none|I'm block three]] And I can do even better
}}
}}
{{StartBlock|200px}}
{{StartBlock|width=200px}}
{|
{|
|-
|-
Line 193: Line 205:
</pre>
</pre>


{{BeginBlockList|600px}}
{{BeginBlockList|width=600px}}
{{Block|
{{Block|
[[File:Inns_And_Cathedrals_C3_Tile_A.png|frame|none|I'm block one]] And I can do a lot
[[File:Inns_And_Cathedrals_C3_Tile_A.png|frame|none|I'm block one]] And I can do a lot
}}
}}
{{StartBlock|200px}}
{{StartBlock|width=200px}}
{|
{|
|-
|-
Line 207: Line 219:
[[File:Inns_And_Cathedrals_C3_Tile_C.png|frame|none|I'm block three]] And I can do even better
[[File:Inns_And_Cathedrals_C3_Tile_C.png|frame|none|I'm block three]] And I can do even better
}}
}}
{{StartBlock|200px}}
{{StartBlock|width=200px}}
{|
{|
|-
|-
Line 228: Line 240:
{{BeginBlockList|width}}
{{BeginBlockList|width}}


{{Block|content|padding-right|padding-bottom}}  <-- Replicated as many times as needed
{{Block|image or text|padding-right|padding-bottom}}  <-- Replicated as many times as needed


{{StartBlock|width|padding-right|padding-bottom}}  <-- Replicated as many times as needed
{{StartBlock|width|padding-right|padding-bottom}}  <-- Replicated as many times as needed
Line 327: Line 339:
|-
|-
|{{ColorWhite|WHITE}}||<pre>{{ColorWhite|WHITE}}</pre>  
|{{ColorWhite|WHITE}}||<pre>{{ColorWhite|WHITE}}</pre>  
|-
|{{ColorMagenta|MAGENTA}}||<pre>{{ColorMagenta|MAGENTA}}</pre>
|-
|{{ColorPurple|PURPLE}}||<pre>{{ColorPurple|PURPLE}}</pre>
|-
|{{ColorOrange|ORANGE}}||<pre>{{ColorOrange|ORANGE}}</pre>
|-
|-
|}
|}
Line 423: Line 441:
Please check note on [[Interim_rules|Interim rules]].
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>
<pre>{{InterimRule|rules=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...}}
{{InterimRule|rules=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) ===
=== Frequently asked question box (template) ===
Line 433: Line 451:
'''Default width (400px)'''
'''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?
<pre>{{FAQ|title=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.]
|text=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>
}}</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?
{{FAQ|title=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.]
|text=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'''
'''Other widths'''


Include parameter "3=XXXpx" when invoking the template. That parameter defaults to "400px" as seen above.
Include parameter "width=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?
<pre>{{FAQ|width=600px|title=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.]
|text=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>
}}</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?
{{FAQ|width=600px|title=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.]
|text=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.]
}}
}}


Line 471: Line 489:
There are three stages all together. During the initial creation of the pages for the wiki, please add one of the first two following tags at the foot of the page to show which stage the document is currently at.  
There are three stages all together. During the initial creation of the pages for the wiki, please add one of the first two following tags at the foot of the page to show which stage the document is currently at.  


# '''Under Construction''' - an initial stage when the text, graphic and layout is being worked on by one or more contributors; this may be the conversion of existing content from the CAR, or creating new content for new expansions, etc.
# '''[[:Category:Under Construction|Under Construction]]''' - an initial stage when the text, graphic and layout is being worked on by one or more contributors; this may be the conversion of existing content from the CAR, or creating new content for new expansions, etc.
# '''Completed''' - the original contributor(s) sets this status once he has finished the creation of the page and feels they can do no more at this point
# '''[[:Category:Completed|Completed]]''' - the original contributor(s) sets this status once he has finished the creation of the page and feels they can do no more at this point
# '''Checked''' - a different person than contributor sets this status after checking the '''completed''' page for obvious spelling and grammar errors, badly imported text, non-standard layouts, missing footnotes and images (from CAR content conversion), etc. For new expansions this ''can'' extend to reviewing the actual content, but may be dependent on the knowledge of the individual carrying out the checking.
# '''[[:Category:Checked|Checked]]''' - a different person than contributor sets this status after checking the '''completed''' page for obvious spelling and grammar errors, badly imported text, non-standard layouts, missing footnotes and images (from CAR content conversion), etc. For new expansions this ''can'' extend to reviewing the actual content, but may be dependent on the knowledge of the individual carrying out the checking.


This 3 stage process will help identify which pages are ready to be proof checked, and those that have, effectively, been signed off and handed over to the community to review, comment, and update.
This 3 stage process will help identify which pages are ready to be proof checked, and those that have, effectively, been signed off and handed over to the community to review, comment, and update.
Line 596: Line 614:
<strong>Note:</strong> The link to Niemieckie Zamki is now linking to English, because Editor manual is in English. If you insert this link to any Polish page, it will automatically create link to [[Castles in Germany (1st edition)/pl|Niemieckie Zamki]]. Direct linking including suffix with language code is not requested now. It's recommended to use <code><nowiki>{{Path|Castles in Germany (1st edition)}}</nowiki></code> instead of <code><nowiki>Castles in Germany (1st edition)/pl</nowiki></code>
<strong>Note:</strong> The link to Niemieckie Zamki is now linking to English, because Editor manual is in English. If you insert this link to any Polish page, it will automatically create link to [[Castles in Germany (1st edition)/pl|Niemieckie Zamki]]. Direct linking including suffix with language code is not requested now. It's recommended to use <code><nowiki>{{Path|Castles in Germany (1st edition)}}</nowiki></code> instead of <code><nowiki>Castles in Germany (1st edition)/pl</nowiki></code>


==== Timeline - Year... ====
==== Timeline - Year ... ====


A timeline link looks like this: {{Year|2001}}. This example is linked to Timeline in language of page where was this code inserted. For translate and set correct path for translated Year page go to [[Template:Year]].
A timeline link looks like this: {{Year|2001}}. This example is linked to Timeline in language of page where was this code inserted.  
<pre>
<pre>
{{Year|2001}}
{{Year|2001}}
</pre>
</pre>
<s>This needs to be changed into your language, so we add "_de" to the first part (German example).
<pre>
{{Year_de|2001}}
</pre>
Now the year will link to the German timeline instead of the English one: {{Year_de|2001}}.</s>


==== Footnotes headings ====
==== Footnotes headings ====
Line 664: Line 674:


== Maintaining ==
== Maintaining ==
=== Rename requests ===
When need to rename record, include rename request into page, which include page also in proper category.
<code><nowiki>{{RenameRequest|name=New Name}}</nowiki></code>
=== Pages using template-like approach ===
Some pages use template-like approach. You can find them here:
{| class="wikitable light"
|-
! Pages type || Category
|-
| Fan-Expansions || [[:Category:Fan-Expansion_Template]]
|}


=== MediaWiki categories for bugs ===
=== MediaWiki categories for bugs ===
Some pages can have issues with MediaWiki. These pages are in special automatic categories when meet bug.
Some pages can have issues with MediaWiki. These pages are in special automatic categories when meet bug.
* [[:Category:Pages using duplicate arguments in template calls]] - Pages where in template call is used same parameter multiple times
{| class="wikitable light"
|-
! Category !! Description
|-
| [[:Category:Pages using duplicate arguments in template calls]] || Pages where in template call is used same parameter multiple times
|-
| [[:Category:Pages_with_broken_file_links]] || Pages including not existing files
|-
| [[:Category:Pages_with_reference_errors]] || Pages with broken reference or missing reference by name
|-
| [[:Special:DoubleRedirects]] || Double and multiple redirects
|-
| [[:Special:BrokenRedirects]] || Broken redirects (redirect to not existing pages))
|-
|}


=== Wikicarpedia categories for bugs ===
=== Wikicarpedia categories for bugs ===
Line 677: Line 714:
|-
|-
| [[:Template:Feature]] || edition || [[:Category:Editor manual - Missing edition in Feature]]
| [[:Template:Feature]] || edition || [[:Category:Editor manual - Missing edition in Feature]]
|-
| Multiple || edition || [[:Category:Editor_Manual_-_Missing_Edition|Category:Editor manual - Missing Edition]]
|-
|-
| [[:Template:TileIllustrations]] || edition || [[:Category:Editor manual - Missing edition in TileIllustrations]]
| [[:Template:TileIllustrations]] || edition || [[:Category:Editor manual - Missing edition in TileIllustrations]]
|-
| [[:Template:GameplayHeading]] || icon || [[:Category:Editor manual - Missing icon in GameplayHeading]]
|-
| [[:Template:Author]] || name || [[:Category:Editor manual - Unknown Author]]
|-
|-
| [[:Template:Feature]] || name || [[:Category:Editor manual - Unknown Feature]]
| [[:Template:Feature]] || name || [[:Category:Editor manual - Unknown Feature]]
Line 687: Line 730:
|}
|}


=== Wikicarpedia categories for bad entries ===
=== Wikicarpedia categories for bad and need to rework entries ===


Some templates, pages or files are not used anymore.
{| class="wikitable light"
{| class="wikitable light"
|-
|-
Line 698: Line 740:
| Records using old templates || [[:Category:Old template]]
| Records using old templates || [[:Category:Old template]]
|-
|-
| Records need to replaced with better images || [[:Category:Low quality image]]
|-
| Records required by editor to rename || [[:Category:Editor Manual - Rename request]]
|-
| Records contains template with deprecated parameters || [[:Category:Deprecated_parameters]]
|-
| Records contains old numbered parameters || [[:Category:Editor_Manual_-_Old_numbered_parameters]]
|}
|}


[[Category:Editor Manual]]
[[Category:Editor Manual]]
advancededitor, translator, writer
26,466

edits

Navigation menu