テンプレート:Page/Header/doc

提供: wiki
移動先: 案内検索

In the first line of a page, put this:

{{Page/Header|<blender version>|<previous page>|<next page>}}

<previous page> and <next page> being valid links to proper pages.

Icons are clickable:

  • Left arrow: previous page (shows red if page doesn't exist)
  • Right arrow: next page (shows red if page doesn't exist)
  • Up arrow: up one level in pages hierarchy

Example:

{{Page/Header|2.4|Previous page|Next page}}

shows as


See also Template:Page/Footer

Localized headers

In case you're putting this header in a translation page, you'll see a little progress bar in the navigator showing a percentage, zero by default.

You can add two additional variables (alone or together).

Percentage of translated text
{{Page/Header|<blender version>|<previous page>|<next page>|<percentage>}}
English page the translation refers to ("oldid")
{{Page/Header|<blender version>|<previous page>|<next page>|oldid=<english revision you are translating>}}
For example if the revision number of the english page you are translating is "12345", if you put "oldid=12345" in Page/Header the progress bar image will link to the diff page between the english revision you have put (12345) and the current version of the same english page. Like this, you can easily check what's changed since your last update.
Since it is actually an external link you'll see a little white arrow near the progress bar image to indicate there's a link, or the little bar won't have any link on it.
Example: Doc:FR/Manual/Modelling/Meshes/Weight_Paint
How to retrieve the oldid
Each page has a link in the Sidebar called Permanent link, hover on it with the mouse and read the Status bar in your browser to get the revision number of that page (if you don't have a Status bar click on that Permalink and see the rev number in the URL of the resulting page)



This template is part of the blend-doc repository. We use categories to retrieve templates in order to commit it in that repository: please don't remove the categorization from this template.