テンプレート:Blender/Series/PageIsVersioned

提供: wiki
< テンプレート:Blender‎ | Series
2018年6月29日 (金) 04:46時点におけるYamyam (トーク | 投稿記録)による版 (1版 をインポートしました)
(差分) ← 古い版 | 最新版 (差分) | 新しい版 → (差分)
移動先: 案内検索

If the page:

  • where you put this template, or
  • the page supplied as first argument

doesn't have a series, this template returns nothing (it's important to return nothing).

If it has, it returns "this_page_is_versioned" (it's not important what it returns).

Currently this is implemented for the following series: 2.4, 2.5, 2.6.


Examples

Put this in You type You get
Doc:Manual {{Blender/Series/PageIsVersioned}}
Doc:2.4/Manual {{Blender/Series/PageIsVersioned}}
Doc:BR/Manual {{Blender/Series/PageIsVersioned}}
Doc:BR/2.4/Manual {{Blender/Series/PageIsVersioned}}
wherever {{Blender/Series/PageIsVersioned|Doc:Manual}}
wherever {{Blender/Series/PageIsVersioned|Doc:2.4/Manual}}
wherever {{Blender/Series/PageIsVersioned|Doc:BR/Manual}}
wherever {{Blender/Series/PageIsVersioned|Doc:BR/2.4/Manual}}