Template:Imager: Difference between revisions

From Habbox Wiki
Jump to navigation Jump to search
Laura (talk | contribs)
mNo edit summary
Laura (talk | contribs)
mNo edit summary
Line 1: Line 1:
<includeonly>{{#if: {{{paramsimple|}}} |https://habbo.com/habbo-imaging/avatarimage?user={{#if: {{{name|}}} | {{urlencode:{{{name|}}}|PATH}} | lawrawrrr}}&action={{#ifeq: {{{action|}}} | wave | wav | {{#ifeq: {{{action|}}} | sit | sit | {{#ifeq: {{{action|}}} | walk | wlk | {{#ifeq: {{{action|}}} | drink | crr=1 | std }} }} }} }}&direction={{#ifeq: {{{direction|}}} | left | 36 | {{#ifeq: {{{direction|}}} | right | 34 | 35}} }}&head_direction={{#ifeq: {{{hdirection|}}} | left | 36 | {{#ifeq: {{{hdirection|}}} | right | 34 | 35}} }}&gesture={{#ifeq: {{{gesture|}}} | speak | spk | {{#ifeq: {{{gesture|}}} | smile | sml | {{#ifeq: {{{gesture|}}} | sad | sad | {{#ifeq: {{{gesture|}}} | angry | agr | std }} }} }} }}&size={{#ifeq: {{{size|}}} | small | s | {{#ifeq: {{{size|}}} | large | m | m}}.png}}
<includeonly>{{{paramsimple|}}} |https://habbo.com/habbo-imaging/avatarimage?user={{#if: {{{name|}}} | {{urlencode:{{{name|}}}|PATH}} | lawrawrrr}}&action={{#ifeq: {{{action|}}} | wave | wav | {{#ifeq: {{{action|}}} | sit | sit | {{#ifeq: {{{action|}}} | walk | wlk | {{#ifeq: {{{action|}}} | drink | crr=1 | std }} }} }} }}&direction={{#ifeq: {{{direction|}}} | left | 36 | {{#ifeq: {{{direction|}}} | right | 34 | 35}} }}&head_direction={{#ifeq: {{{hdirection|}}} | left | 36 | {{#ifeq: {{{hdirection|}}} | right | 34 | 35}} }}&gesture={{#ifeq: {{{gesture|}}} | speak | spk | {{#ifeq: {{{gesture|}}} | smile | sml | {{#ifeq: {{{gesture|}}} | sad | sad | {{#ifeq: {{{gesture|}}} | angry | agr | std }} }} }} }}&size={{#ifeq: {{{size|}}} | small | s | {{#ifeq: {{{size|}}} | large | m | m}}.png}}
</includeonly><noinclude>
</includeonly><noinclude>
{{Documentation}}<br />
{{Documentation}}<br />
[[Category:Technical Templates]]
[[Category:Technical Templates]]
</noinclude>
</noinclude>

Revision as of 18:25, 4 October 2021

Documentation

When to use:

This template should be used to include pictures of Habbos which you would like to update automatically.

Usage:

There are two different ways of using, the complicated parameter version:

{{Imager|name=<name>|action=<action>|direction=<direction>|hdirection=<headdirection>|gesture=<gesture>}}

And the simple parameter version, this uses similar notation but you can use plain text command instead:

{{Imager|name=<name>|paramsimple=true|action=<action>|direction=<direction>|hdirection=<headdirection>|gesture=<gesture>|size=<size>}}

Commands for Simple Parameters

Below is a list of options for each of the parameters on the simple parameter version

Hotel:

  • hotel (supports: .com .com.br .fr .fi .es .de .nl .it .com.tr)
  • Leaving blank defaults to .com

Actions:

  • wave
  • sit
  • walk
  • drink
  • Leaving blank means no action

Direction / Head Direction:

  • left
  • right
  • Leaving blank faces forward

Gesture:

  • smile
  • angry
  • speak
  • sad
  • Leaving blank means no facial expression

Size:

  • large (Default)
  • small

Appearance

Due to the complicated nature of this template here are a wide range of examples:

No Parameters Set

|avatarimage?user=lawrawrrr&action=std&direction=35&head_direction=35&gesture=std&size=m.png
{{Imager}}

Name Parameter set

|avatarimage?user=Ekelektra&action=std&direction=35&head_direction=35&gesture=std&size=m.png
{{Imager|name=Ekelektra}}

Another hotel

|avatarimage?user=Miss.Sunshine&action=std&direction=35&head_direction=35&gesture=std&size=m.png
{{Imager|hotel=.fr|name=Miss.Sunshine}}

Simple Parameters set

true |avatarimage?user=__tbl&action=wav&direction=36&head_direction=35&gesture=agr&size=m.png

{{Imager|name=__tbl|paramsimple=true|action=wave|direction=left|gesture=angry}}

Complicated Parameters set

|avatarimage?user=flyingjesus&action=sit&direction=35&head_direction=35&gesture=std&size=m.png
{{Imager|name=flyingjesus|action=sit|direction=30|gesture=speak|left=true}}