Template:Portal/Box/doc: 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 22: Line 22:
== Examples ==
== Examples ==
{{Portal:Box|display=full|title=Title|content=Content}}
{{Portal:Box|display=full|title=Title|content=Content}}
{{Portal:Box|display=half|title=Title|content=Content}}
{{Portal:Box|display=half left|title=Title|content=Content}}
{{Portal:Box|display=half|title=Title|content=Content}}
{{Portal:Box|display=half right|title=Title|content=Content}}

Revision as of 18:59, 13 April 2021

This template is for use on Portal pages.

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

  • display = The width it should display as.
    • Full width: full
    • Half width: use halfleft and halfright
  • 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