« Modèle:Documentation subpage » : différence entre les versions

m
new tvar syntax
test0>Shirayuki
(Marked this version for translation)
test0>Shirayuki
m (new tvar syntax)
Ligne 14 : Ligne 14 :
             | image = [[File:OOjs UI icon book-ltr.svg|40px|alt=|link=]]
             | image = [[File:OOjs UI icon book-ltr.svg|40px|alt=|link=]]
             | text =
             | text =
'''<translate><!--T:4--> This is a [[w:Wikipedia:Template documentation|documentation]] [[<tvar|2>Special:MyLanguage/Help:Subpages</>|subpage]] for <tvar|1>{{{1|[[:{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]}}}</>.</translate>'''<br /><!--
'''<translate><!--T:4--> This is a [[w:Wikipedia:Template documentation|documentation]] [[<tvar name=2>Special:MyLanguage/Help:Subpages</tvar>|subpage]] for <tvar name=1>{{{1|[[:{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]}}}</tvar>.</translate>'''<br /><!--
-->{{#if:{{{text2|}}}
-->{{#if:{{{text2|}}}
   |<translate><!--T:5--> It contains usage information, [[<tvar|7>Special:MyLanguage/Help:Categories</>|categories]] and other content that is not part of the original <tvar|1>{{{text2}}}</>.</translate>
   |<translate><!--T:5--> It contains usage information, [[<tvar name=7>Special:MyLanguage/Help:Categories</tvar>|categories]] and other content that is not part of the original <tvar name=1>{{{text2}}}</tvar>.</translate>
   |{{#if:{{{text1|}}}
   |{{#if:{{{text1|}}}
     |<translate><!--T:9--> It contains usage information, [[<tvar|7>Special:MyLanguage/Help:Categories</>|categories]] and other content that is not part of the original <tvar|1>{{{text1}}}</>.</translate>
     |<translate><!--T:9--> It contains usage information, [[<tvar name=7>Special:MyLanguage/Help:Categories</tvar>|categories]] and other content that is not part of the original <tvar name=1>{{{text1}}}</tvar>.</translate>
     |<translate><!--T:10--> It contains usage information, [[<tvar|7>Special:MyLanguage/Help:Categories</>|categories]] and other content that is not part of the original <tvar|1>{{SUBJECTSPACE}}</> page.</translate>
     |<translate><!--T:10--> It contains usage information, [[<tvar name=7>Special:MyLanguage/Help:Categories</tvar>|categories]] and other content that is not part of the original <tvar name=1>{{SUBJECTSPACE}}</tvar> page.</translate>
     }}
     }}
   }}
   }}
Utilisateur anonyme