Meta/Templates

Wikipedia,自由的百科全书

请在编辑文档之前阅读如下的模板规范,我们建议你在写作中使用模板,这并非是强制的,但是为了保证文档的可阅读性一致性,请务必使用模板进行写作。

Contents

导航模板以及版本模板

导航模板一般用在页顶端和页面底部:

  • {{DV/navigator|VER|PreviousPage|FollowingPage}} produces the header you see in most pages.
    • DV is Documentation Volume, currently the only one supported is UM, that is User Manual, soon RE (reference) will also be available.
    • VER is the Blender version the page refers to, should be 2.32, 2.34, 2.37 whatever.
    • PreviousPage is the link to the previous page in the TOC, written exactly as you woud write it in a [[ ]] link pair.
    • FollowingPage is the link to the following page in the TOC, written exactly as you woud write it in a [[ ]] link pair.
  • {{DV/foot|PreviousPage|FollowingPage}} produces the footer you see in most pages. THe bold item have the same meaning than in the previous case
  • {{Version|VER}} can be used immediately after a section title to mark that that section is relevant to a different blender version than the rest of the page.

界面模板

To produce the following bolded key sequence description "AKEY LMB" and similar interface actions you must use proper templates:

  • {{K|A}} and the like produces AKEY;
  • {{SK|A}} and the like produces SHIFT-A;
  • {{CK|A}} and the like produces CTRL-A;
  • {{AK|A}} and the like produces ALT-A;
  • {{SAK|A}} and the like produces SHIFT-ALT-A;
  • {{SCK|A}} and the like produces SHIFT-CTRL-A;
  • {{MB|L}} and the like produces LMB;
  • {{CMB|L}} and the like produces CTRL-LMB;
  • {{MW}} and the like produces MW;
  • {{CMW}} and the like produces CMW;
  • {{N|0}} and the like produces NUM0;
  • {{KEY|F1}} and the like produces F1.

Please abide strictly to these rules since it would allow for the DocBoard to change the styles and maintain consistency!

Labels, menus and their entry, or in general, any user interface item appearing on the screen should be written as follows this:

  • {{Literal|text}} and the like produces text.
  • On the other hand ...
    <code>dummycode</code>
    gives dummycode. What's the preferred way?


提示与注解

There is currently a single template for these things:

  • {{Note|Title|Text}} showing a sidebox with smaller cap, and bold title.
  • 效果如下:

Title: Text

表格样式

The sequence {{UM/prettytable|size}} defines the standard layout for tables in the User Manual. size is the width of the whole table. It can either be a plain number, in which case it is width in pixels, or a percentage of the width of the page holding the table (for example: 50%).

如果你使用如下代码,

{|
|{{UM/prettytable|256}}|Hello
|}

那么效果如下:

Hello
Personal tools