Difference between revisions of "Template:Maptag function"

From SimsWiki
Jump to: navigation, search
Line 1: Line 1:
{{if|test={{function}}|then=[[File:Maptag_{{{1}}}.png|40px|{{{2|}}}|{{{1}}}]]<includeonly> <</includeonly>{{{2}}}<includeonly>>[[Game_Help:TS3_</includeonly>{{{1}}}<includeonly>|</includeonly>{{{1}}}<includeonly>]]</</includeonly>{{{2}}}<includeonly>></includeonly>
+
{{if|test={{{function}}}|then=[[File:Maptag_{{{1}}}.png|40px|left|{{{1}}}]]<includeonly> <span style="text-align:left;vertical-align:middle;">[[Game_Help:TS3_</includeonly>{{{1}}}<includeonly>|</includeonly>{{{1}}}<includeonly>]]</span></includeonly>|else=[[File:Maptag_{{{1}}}.png|40px|center|{{{1}}}]]<includeonly> <center>[[Game_Help:TS3_</includeonly>{{{1}}}<includeonly>|</includeonly>{{{1}}}<includeonly>]]</center></includeonly>}}
<noinclude>}}{{if|test={{world}}|then=[[File:Maptag_{{{1}}}.png|40px|{{{2|}}}|{{{1}}}]]<includeonly> <span style="</includeonly>{{{2}}}<includeonly>">[[Game_Help:TS3_</includeonly>{{{1}}}<includeonly>|</includeonly>{{{1}}}<includeonly>]]</span></includeonly>
+
<noinclude>
<noinclude>}}
+
 
+
 
==Usage==
 
==Usage==
Copy paste the following and enter your data in "input" and the desired "alignment". Be sure not to use spaces. This would display the Rabbithole's maptag function and the link to 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
+
Copy paste the following and enter your data in "input" field; "yes" or " " (empty space 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.  
| function=
+
<pre>{{Maptag function|function=|input}}</pre>
| world=
+
 
}}</pre>
+
==Example==
 +
 
 +
====By Function====
 +
 
 +
<nowiki>{{Maptag function|function=yes|Bistro}}</nowiki>
 +
 
 +
====By Worlds====
 +
 
 +
<nowiki>{{Maptag function|function= |Bistro}}</nowiki>
  
 
[[Category:Templates]]
 
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Revision as of 10:11, 12 October 2012

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

Contents

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 space 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.

{{Maptag function|function=|input}}

Example

By Function

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

By Worlds

{{Maptag function|function= |Bistro}}

Personal tools
Namespaces

Variants
Actions
Navigation
game select
Toolbox