Skip to content

Commit

Permalink
modified: zh/Wiki/维基风格指南
Browse files Browse the repository at this point in the history
  • Loading branch information
A1s2d3ae authored and Librarian committed Apr 8, 2024
1 parent 980f02d commit 95151f8
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions Page/zh/Wiki/维基风格指南.mediawiki
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,17 @@

如果一个页面被引用,便不能随意对其进行重命名,而需要在Github上提交申请。因此,不能确定页面名时,<span style="color:red; font-size:22pt">'''务必提交问题进行集体讨论。'''</span>
===图像===
Use whatever format works best. PNG files are the best choice for most OpenTTD graphics. This is typical:
必须是PNG、GIF或JPEG格式,建议使用PNG格式。
以下是代码的基本语法,其中仅有“图片地址”是必要的:
<pre>[[File:图片地址|大小(px)|边框(border/frameless/frame/thumb)|水平位置(left/right/center/none)|链接(link=)|文字说明]]</pre>
以下是示例:
{|
!代码!!效果
|-
|<pre>[[File:en/Archive/Manual/Settings/Longerbridges.png|frame|Image caption]]</pre>
|[[File:en/Archive/Manual/Settings/Longerbridges.png|frame|Image caption]]
|<pre>[[File:en/Archive/Manual/Settings/Longerbridges.png|frame|标题]]</pre>
|[[File:en/Archive/Manual/Settings/Longerbridges.png|frame|标题]]
|}

若要了解更多语法知识,请参考[https://m.mediawiki.org/wiki/Help:Images Media Wiki的帮助页面]。
===带注释的屏幕截图===
[[File:en/Archive/Manual/WhyPresignals.png|frame|right|Format for labelling screenshots]]
If you are posting screenshots to explain game concepts or junctions you should keep the amount of explanatory text in the actual image to a minimum and instead make reference to labelled parts in the main text. The labelled parts should be done in a contrasting colour (for temperate climate, white is good) using an anti-aliased sans-serif font in bold on a transparent background. Arrows can be used if needed but it is better to position the label near the item to be explained. The image on the right is an example of this format (but remember the labels don't necessarily have to be letters or numbers as long as they don't clutter the screenshot and leave the job of explaining what's going on to the main text).
Expand Down Expand Up @@ -120,6 +123,7 @@ Pick the colour scheme best suited to the message you want to convey - red for i
See [[en/Wiki/Templates|here]] for a list of commonly used templates.

==站外资料==
*[https://github.com/TrueBrain/TrueWiki TrueWiki(本站使用的维基引擎)的Github页面]
*[https://meta.wikimedia.org/wiki/Help:Editing MediaWiki上的文本语法]
*[https://www.wikipedia.org/wiki/Wikipedia:Extended_image_syntax 图像语法扩展]
*[https://www.wikipedia.org/wiki/Wikipedia:Picture_tutorial 图片教程]
Expand Down

0 comments on commit 95151f8

Please sign in to comment.