テンプレート:Blender/Series
< テンプレート:Blender
2011年12月15日 (木) 20:49時点におけるwiki>Mindronesによる版 (didnìt think aobut this, the default can be the current series! so it will be ok automatically)
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/% |shownamespace=false |format=Subpages,²{#ifeq:²{IsUpper¦²{SUBPAGENAME:%PAGE%}²}²¦1¦²{Multiply¦*¦²{#expr:1+²{PagetitlePartsAmount¦%TITLE%}²-²{PagetitlePartsAmount¦²{PAGENAME}² }² -1 }² }² ²{SUBPAGENAME:%TITLE%}²¦}²,,
}}