Dota 2 Wiki
Advertisement
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Function or template

When to use {{#show}} or {{Show}}? Is there rules? SiegelZ (talk) 09:07, 3 September 2018 (UTC)

{{#show}} is based on SMW (deprecated), so most of the time Show, which is based on Cargo, should be used instead. There's still some bugs with that one however, especially one where values that are stored on the same page don't work. --Litzsch 09:32, 3 September 2018 (UTC)
{{#show}} is potentially an expensive parser function from Semantic Media Wiki (which is deprecated)- I'd recommend using the templated Show instead where possible, as it runs off LUA and Cargo which is more efficient. See Help:Extensions/Semantic_MediaWiki and Help:Extensions/Cargo Sanhard (talk) 09:33, 3 September 2018 (UTC)
Advertisement