Difference between revisions of "Template:Maptag function"

From SimsWiki
Jump to: navigation, search
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[File:Maptag_{{{1}}}.png|40px|{{{1}}}]] <includeonly>[[Game_Help:TS3_</includeonly>{{{1}}}<includeonly>|</includeonly>{{{1}}}<includeonly>]]</includeonly>
+
{{if|test={{{function}}}|then=[[File:Maptag_{{{1}}}.png|40px|{{{1}}}]]<includeonly> [[Game_Help:TS3_</includeonly>{{{1}}}<includeonly>|</includeonly>{{{1}}}<includeonly>]]</includeonly>|else=[[File:Maptag_{{{1}}}.png|40px|center|{{{1}}}]]<includeonly> <center>[[Game_Help:TS3_</includeonly>{{{1}}}<includeonly>|</includeonly>{{{1}}}<includeonly>]]</center></includeonly>}}
 
<noinclude>
 
<noinclude>
 
 
==Usage==
 
==Usage==
Copy paste the following and enter your data in "input". Be sure not to use spaces. This would display the Rabbithole's maptag function and its wiki page.
+
This would display the Rabbithole's maptag function and the link to its wiki page. It has different formatting for the alignment and placement of the Maptag Function name depending on if it is in the Function or World section.
<pre>{{Maptag function|input}}</pre>
+
Copy paste the following and enter your data in "input" field; "yes" or " " (empty string for the IF function to work properly) in the function field depending if it is for the Function or World section respectively. Be sure not to use spaces elsewhere.  
 +
<pre>{{Maptag function|function=|input}}</pre>
 +
 
 +
==Example==
 +
 
 +
====By Function====
 +
 
 +
<nowiki>{{Maptag function|function=yes|Bistro}}</nowiki>
 +
 
 +
====By Worlds====
 +
 
 +
<nowiki>{{Maptag function|function= |Bistro}}</nowiki>
 +
 
 +
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 23:57, 12 October 2012

[[File:Maptag_{{{1}}}.png|40px|{{{1}}}]]{{{1}}}{{{1}}}

Contents

[edit] Usage

This would display the Rabbithole's maptag function and the link to its wiki page. It has different formatting for the alignment and placement of the Maptag Function name depending on if it is in the Function or World section. Copy paste the following and enter your data in "input" field; "yes" or " " (empty string for the IF function to work properly) in the function field depending if it is for the Function or World section respectively. Be sure not to use spaces elsewhere.

{{Maptag function|function=|input}}

[edit] Example

[edit] By Function

{{Maptag function|function=yes|Bistro}}

[edit] By Worlds

{{Maptag function|function= |Bistro}}

Personal tools
Namespaces

Variants
Actions
Navigation
game select
Toolbox