Template:Portal/Box/doc: Difference between revisions

From Habbox Wiki
Jump to navigation Jump to search
Laura (talk | contribs)
m Created
Laura (talk | contribs)
mNo edit summary
Line 1: Line 1:
This template is for use on [[Category:Portals|Portal pages]].
This template is for use on [[Category:Portals|Portal pages]].


It should be called using {{Portal:Box}} and has several parameters that can be set including:
It should be called using <nowiki>{{Portal:Box}}</nowiki> and has several parameters that can be set including:


* '''display''' = The width it should display as. Currently supported: '''full''' and '''half'''
* '''display''' = The width it should display as. Currently supported: '''full''' and '''half'''

Revision as of 17:06, 13 April 2021

This template is for use on .

It should be called using {{Portal:Box}} and has several parameters that can be set including:

  • display = The width it should display as. Currently supported: full and half
  • design = The CSS class of the header. Defaults to portal-gen (General Wiki template). Available classes are listed below.
  • title = The title that should apper in the box
  • content = The content inside the box

Format:

{{Portal:Box|design=room|display=full|title=Title|content=Content}}

Style classes

Below you can see a list of available headers for use in headers.

Their corresponding parameter is listed below. This can be called in the Template:Portal/Box using the design parameter


General header

This header will be used in most cases where no design is specified.

general

Other generic headers

bulb
cog
ducks
hotel
furni
stars
rooms
question
hearts
people

Seasonal headers

xmas
summer
bobba

Examples

Portal:Box Portal:Box Portal:Box