Difference between revisions of "Template:Card infobox/doc"

From Artifact: The Dota Card Game Wiki
Jump to: navigation, search
 
Line 4: Line 4:
 
It creates a instance of Card infobox aligned on the right side of the page. It also generates the first line of text on the page describing what the card is. Furthermore, this templates sets a custom <code>og:description</code> attribute on the page so that search engines like Google don't parse the Card infobox as the search description.
 
It creates a instance of Card infobox aligned on the right side of the page. It also generates the first line of text on the page describing what the card is. Furthermore, this templates sets a custom <code>og:description</code> attribute on the page so that search engines like Google don't parse the Card infobox as the search description.
   
The majority of the wikitext powering these functions are loaded through a template call to Template:Card infobox/inner by the Cargo query.
+
The majority of the wikitext powering these functions are loaded through a call to [[Template:Card infobox/inner]] by the Cargo query.
   
 
{{doc/end}}
 
{{doc/end}}

Latest revision as of 15:55, 14 December 2018

Template-info.png Documentation

This template draws data from a card page's associated data page that is populated through Template:Card data. It accepts an optional override parameter of id should the database load the incorrect card based on name alone.

It creates a instance of Card infobox aligned on the right side of the page. It also generates the first line of text on the page describing what the card is. Furthermore, this templates sets a custom og:description attribute on the page so that search engines like Google don't parse the Card infobox as the search description.

The majority of the wikitext powering these functions are loaded through a call to Template:Card infobox/inner by the Cargo query.