{"_id":"5551c65bbcb05a0d0069312a","project":"554e112d0f31e40d0028e7c0","__v":5,"user":"550a92ee42fff40d00ae60ed","category":{"_id":"554e2900be34a70d000378ae","__v":20,"pages":["554e29872432590d00bd513d","554e29a02432590d00bd513f","554e2a1e0f31e40d0028e7cf","554e2c890f31e40d0028e7d8","55508f2c00420e0d00d130a9","55508f7900420e0d00d130ab","55508fba39fcd41700a0f3f0","5550b1ce00420e0d00d13124","5550b325359f410d00035428","5550b37639fcd41700a0f43b","5551a485953c9c0d00f504f7","5551b202bcb05a0d006930f3","5551be497988e10d003451b1","5551be577988e10d003451b3","5551be9e7988e10d003451b6","5551bf0a953c9c0d00f5053f","5551c65bbcb05a0d0069312a","5551ce8b953c9c0d00f50568","5554443192dc520d00931eb8","5644382e5439df170071d4ba"],"version":"554e112e0f31e40d0028e7c3","project":"554e112d0f31e40d0028e7c0","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-05-09T15:34:24.910Z","from_sync":false,"order":1,"slug":"writing-your-guidepost","title":"Writing Your Guide/Post"},"version":{"_id":"554e112e0f31e40d0028e7c3","__v":5,"project":"554e112d0f31e40d0028e7c0","createdAt":"2015-05-09T13:52:46.331Z","releaseDate":"2015-05-09T13:52:46.331Z","categories":["554e112e0f31e40d0028e7c4","554e2900be34a70d000378ae","554e2a622432590d00bd5142","554f1481cbb3510d00a5738d","5551bf43953c9c0d00f50541"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1.0"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-05-12T09:22:35.172Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"auth":"required","params":[],"url":""},"isReference":false,"order":3,"body":"Card tooltips is the fancy card image that appears at the user's mouse pointer when they hover it over a card name in the article. Example:\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/bkw5HK7jSbe08aGVVb5v_cardtooltip.jpg\",\n        \"cardtooltip.jpg\",\n        \"750\",\n        \"517\",\n        \"\",\n        \"\"\n      ],\n      \"caption\": \"User has their mouse hovered over Shield Maiden\"\n    }\n  ]\n}\n[/block]\nCard inserts are images that is a part of the article and will always appear. Example:\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/w3nQNxE5ShqOZikZi3Sc_cardinsert.jpg\",\n        \"cardinsert.jpg\",\n        \"750\",\n        \"517\",\n        \"#aa241e\",\n        \"\"\n      ],\n      \"caption\": \"Alexstrasza is so awesome, she has her own real estate in the article.\"\n    }\n  ]\n}\n[/block]\n\n[block:callout]\n{\n  \"type\": \"warning\",\n  \"title\": \"When to use Card Tooltips?\",\n  \"body\": \"Each time a card is mentioned for the first time in the article, it must be a tooltip. This is so the readers can know what the card does. Turning subsequent mentions of the card into tooltips is optional.\"\n}\n[/block]\n\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Adding Tooltips and Inserts to Your Article\"\n}\n[/block]\n\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/Cz4otCMkQOWD9xI9Gd6l_Screen%20Shot%202015-05-12%20at%205.27.35%20PM.png\",\n        \"Screen Shot 2015-05-12 at 5.27.35 PM.png\",\n        \"529\",\n        \"392\",\n        \"#cf3134\",\n        \"\"\n      ]\n    }\n  ]\n}\n[/block]\n(A) shows how to insert a card tooltip - the naming convention is explained below! \n(B) shows how to insert a card image to the post itself. It has to be on its own line and the float can be left or right - it’s up to you. Make sure you are using the correct double quotation marks!\n\n**Card Tooltips** uses the tag [card]card-name[/card]\n**Card Inserts** uses the tag [cardinsert card=\"card-name\" float=\"direction\"]\n[block:callout]\n{\n  \"type\": \"danger\",\n  \"title\": \"Double Quotation Mark\",\n  \"body\": \"Make sure you are using the right double quotation mark in the card insert code.\"\n}\n[/block]\n\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Card Naming Convention\"\n}\n[/block]\nType in the card name following these rules:\n1. Everything is in lower case\n2. All punctuations are omitted\n3. All space become dashes, dashes remain dashes\n\n**Examples:**\nSen’jin Shieldmasta becomes senjin-shieldmasta\nIf we want to use it as a tooltip, we would insert the following into our article:\n[card]senjin-shieldmasta[/card]\n\nSI:7 Agent becomes si7-agent\nAs a tooltip, it'd be: [card]si7-agent[/card]\nAs a card insert: [cardinsert card=\"si7-agent\" float=\"right\"]\n\nAlarm-O-Bot becomes alarm-o-bot\nAs a tooltip, it'd be: [card]alarm-o-bot[/card]\nAs a card insert: [cardinsert card=\"alarm-o-bot\" float=\"right\"]\n\n[block:callout]\n{\n  \"type\": \"warning\",\n  \"body\": \"Due to how code behaves on the site. You can use the full name, but it can be buggy (it's something we're trying to fix!).\",\n  \"title\": \"Why the weird naming convention?\"\n}\n[/block]","excerpt":"","slug":"card-tooltips","type":"basic","title":"Card Tooltips & Card Inserts"}

Card Tooltips & Card Inserts


Card tooltips is the fancy card image that appears at the user's mouse pointer when they hover it over a card name in the article. Example: [block:image] { "images": [ { "image": [ "https://files.readme.io/bkw5HK7jSbe08aGVVb5v_cardtooltip.jpg", "cardtooltip.jpg", "750", "517", "", "" ], "caption": "User has their mouse hovered over Shield Maiden" } ] } [/block] Card inserts are images that is a part of the article and will always appear. Example: [block:image] { "images": [ { "image": [ "https://files.readme.io/w3nQNxE5ShqOZikZi3Sc_cardinsert.jpg", "cardinsert.jpg", "750", "517", "#aa241e", "" ], "caption": "Alexstrasza is so awesome, she has her own real estate in the article." } ] } [/block] [block:callout] { "type": "warning", "title": "When to use Card Tooltips?", "body": "Each time a card is mentioned for the first time in the article, it must be a tooltip. This is so the readers can know what the card does. Turning subsequent mentions of the card into tooltips is optional." } [/block] [block:api-header] { "type": "basic", "title": "Adding Tooltips and Inserts to Your Article" } [/block] [block:image] { "images": [ { "image": [ "https://files.readme.io/Cz4otCMkQOWD9xI9Gd6l_Screen%20Shot%202015-05-12%20at%205.27.35%20PM.png", "Screen Shot 2015-05-12 at 5.27.35 PM.png", "529", "392", "#cf3134", "" ] } ] } [/block] (A) shows how to insert a card tooltip - the naming convention is explained below! (B) shows how to insert a card image to the post itself. It has to be on its own line and the float can be left or right - it’s up to you. Make sure you are using the correct double quotation marks! **Card Tooltips** uses the tag [card]card-name[/card] **Card Inserts** uses the tag [cardinsert card="card-name" float="direction"] [block:callout] { "type": "danger", "title": "Double Quotation Mark", "body": "Make sure you are using the right double quotation mark in the card insert code." } [/block] [block:api-header] { "type": "basic", "title": "Card Naming Convention" } [/block] Type in the card name following these rules: 1. Everything is in lower case 2. All punctuations are omitted 3. All space become dashes, dashes remain dashes **Examples:** Sen’jin Shieldmasta becomes senjin-shieldmasta If we want to use it as a tooltip, we would insert the following into our article: [card]senjin-shieldmasta[/card] SI:7 Agent becomes si7-agent As a tooltip, it'd be: [card]si7-agent[/card] As a card insert: [cardinsert card="si7-agent" float="right"] Alarm-O-Bot becomes alarm-o-bot As a tooltip, it'd be: [card]alarm-o-bot[/card] As a card insert: [cardinsert card="alarm-o-bot" float="right"] [block:callout] { "type": "warning", "body": "Due to how code behaves on the site. You can use the full name, but it can be buggy (it's something we're trying to fix!).", "title": "Why the weird naming convention?" } [/block]