テンプレート:Blender/Series/doc
< テンプレート:Blender | Series
Blender/Series
Detects which version of the manual we are in.
Page you put it in | You type | You get |
---|---|---|
Manual/Foo | {{Blender/Series}} | 2.6 |
2.5/Manual/Foo | {{Blender/Series}} | 2.5 |
BR/Manual/Foo | {{Blender/Series}} | 2.6 |
BR/2.5/Manual/Foo | {{Blender/Series}} | 2.5 |
doesn't matter | {{Blender/Series|Manual/Foo}} | 2.6 |
doesn't matter | {{Blender/Series|2.5/Manual/Foo}} | 2.5 |
doesn't matter | {{Blender/Series|BR/Manual/Foo}} | 2.6 |
doesn't matter | {{Blender/Series|BR/2.5/Manual/Foo}} | 2.5 |
{{#dpl:
|debug=0 |skipthispage=no |mode=ordered |namespace=テンプレート |titlematch=Blender/Series/doc/% |shownamespace=false |format=Subpages,²{#ifeq:²{IsUpper¦²{SUBPAGENAME:%PAGE%}²}²¦1¦²{Multiply¦*¦²{#expr:1+²{PagetitlePartsAmount¦%TITLE%}²-²{PagetitlePartsAmount¦²{PAGENAME}² }² -1 }² }² ²{SUBPAGENAME:%TITLE%}²¦}²,,
}}