Difference between revisions of "Template:Twitter/doc"

From Survived By Wiki
Jump to: navigation, search
(⧼default import⧽)
 
m
 
Line 7: Line 7:
   
 
=== Example for a dark-themed wiki ===
 
=== Example for a dark-themed wiki ===
<tt><nowiki><center><twitterfeed nobackground nofooter theme="dark" linkcolor="#3674b3">cursegamepedia</twitterfeed></center></nowiki></tt>
+
<code><nowiki><center><twitterfeed nobackground nofooter theme="dark" linkcolor="#3674b3">cursegamepedia</twitterfeed></center></nowiki></code>
   
 
=== Example for a light-themed wiki ===
 
=== Example for a light-themed wiki ===
<tt><nowiki><center><twitterfeed nobackground nofooter theme="light" linkcolor="#3674b3">cursegamepedia</twitterfeed></center></nowiki></tt>
+
<code><nowiki><center><twitterfeed nobackground nofooter theme="light" linkcolor="#3674b3">cursegamepedia</twitterfeed></center></nowiki></code>
 
{{doc/end}}
 
{{doc/end}}

Latest revision as of 13:21, 14 November 2018

Template-info.png Documentation

Using this template

This template, with the options as they are currently set, will display a twitter feed which is centered with respect to the section of the page where it is placed. It uses the background colour of the wiki and does not display the twitter feed footer.

For more specific information on the Curse twitter extension, see Help wiki page.

Example for a dark-themed wiki

<center><twitterfeed nobackground nofooter theme="dark" linkcolor="#3674b3">cursegamepedia</twitterfeed></center>

Example for a light-themed wiki

<center><twitterfeed nobackground nofooter theme="light" linkcolor="#3674b3">cursegamepedia</twitterfeed></center>

This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.