Diferencia entre revisiones de «Plantilla:Tracks Wikidata»

De Familia Sanchez Arjona
Saltar a: navegación, buscar
(Change image link to something useful, swap image)
(Allow use in a category. No changes for transclusions in templates or modules. Tested first in /sandbox.)
Línea 9: Línea 9:
 
   | x = 12
 
   | x = 12
 
   | y = 0
 
   | y = 0
}}
+
  }}
 
| position = {{{position|}}}
 
| position = {{{position|}}}
| text    = This {{module other|module|template}} [[:Category:{{{cat|Wikidata tracking categories}}}|tracks]] {{#if:{{{section|}}} | one or more [[Wikidata]] properties; see [[#{{{section}}}|§ {{{section}}}]] for details. | the [[Wikidata]] propert{{#if:{{{2|}}}|ies|y}}:
+
| text    = This {{template other
{{#invoke:Uses Wikidata|usesProperty}}
+
  | template
}}}}<includeonly>{{#switch:{{SUBPAGENAME}}
+
  | {{module other
|sandbox |testcases |doc= <!--no category-->
+
    | module
|#default=[[Category:{{module other|Modules|Templates}} tracking Wikidata]]
+
    | {{category other
}}</includeonly><noinclude>{{documentation}}<!-- Add categories and interwikis to the /doc sub-page --></noinclude>
+
      | category
 +
      | page <!-- not template, module, or category -->
 +
      }}
 +
    }}
 +
  }} [[:Category:{{{cat|Wikidata tracking categories}}}|tracks]] {{#if:{{{section|}}}
 +
  | one or more [[Wikidata]] properties; see [[#{{{section}}}|§&nbsp;{{{section}}}]] for details.
 +
  | the [[Wikidata]] propert{{#if:{{{2|}}}|ies:|y:}} {{#invoke:Uses Wikidata|usesProperty}}
 +
  }}
 +
}}<includeonly>{{#switch:{{SUBPAGENAME}}
 +
  |sandbox |testcases |doc= <!--no category-->
 +
  |#default = {{template other
 +
    | [[Category:Templates tracking Wikidata]]
 +
    | {{module other
 +
      | [[Category:Modules tracking Wikidata]]
 +
      | {{category other
 +
        | <!-- if used in a category, don't automatically add parent category -->
 +
        | <!-- not template, module, or category -->
 +
        }}
 +
      }}
 +
    }}
 +
  }}</includeonly><noinclude>
 +
{{Documentation}}<!-- Add categories and interwikis to the /doc sub-page -->
 +
</noinclude>

Revisión del 19:53 25 nov 2015

50px Template documentation[create]