menu menu_open
  • edit Edit

    description Contents

    • 1 Usage
      • 1.1 Template parameters
      • 1.2 Additional information
    • 2 Example
    • 3 ⧼Seealso⧽
    • 4 Localization
    • 5 Examples

    Navigation

    • Main page
    • All pages
    • Recent changes
    • Random page
    • Help

    Tools

    • What links here
    • Related changes
    • Special pages
    • Printable version
    • Permanent link
    • Page information

    Variants

The Lab Rats 2 - Reformulate Wiki

Template:Navbar/layout

14 article Pages
18 photo Files
2128 edit Edits
22 person Users
timeline photo_library leaderboard file_upload
palette
  • computer
code
  • computer
pages api security app_shortcut
more_vertical
  • timeline Recent changes
  • photo_library New Files
  • leaderboard Statistics
  • file_upload Upload file
  • palette CSS expand_more
    • computer
  • code JS expand_more
    • computer
  • pages All pages
  • apisandbox API sandbox
  • security System messages
  • app_shortcut Special pages
grid_view double_arrow forum file_download extension file_upload visibility book category delete_sweep
settings
contrast

  • brightness_auto hdr_auto
  • brightness_7 brightness_1
  • brightness_6 brightness_2
  • brightness_5 brightness_3
  • brightness_4
  • brightness_3 brightness_5
  • brightness_2 brightness_6
  • brightness_1 brightness_7
hdr_auto
  • brightness_auto
  • hdr_auto
  • light_mode
  • dark_mode

  • palette
  • tonality

  • brightness_auto hdr_auto
  • gradient gradient
  • thermostat thermostat
  • ac_unit storm
  • Duo
  • Solo
format_paint
  • emergency deployed_code
  • emergency opacity
  • square
  • contrast

  • deployed_code build square contrast
  • 1
  • 2
  • 3
  • 4
palette
  • brightness_auto
  • hdr_auto
  • light_mode
  • dark_mode

  • build
  • emergency invert_colors_off
  • contrast
  • format_paint
  • android
  • colorize
colorize
  • brightness_auto
  • hdr_auto
  • bedtime_off
  • bedtime

  • build
  • square
  • computer
  • invert_colors
  • brush
  • filter_b_and_w
  • contrast
  • smart_toy
  • 1
  • 2
  • 3
  • 4
brush
  • A
  • B
  • C
  • D
  • E
  • F
  • G
  • H
  • Welcome to the Lab Rats 2 - Reformulate Wiki.
  • Stay tuned here for news and changes...
  • This wiki is currently being built. Feel free to contribute to it and discuss any suggestions or changes.
  • Visit the Lab Rats 2 Discord to discuss any missing information!
  • Template
  • Discussion
  • Read
  • View source
  • View history

Template:Navbar/layout

From The Lab Rats 2 - Reformulate Wiki
< Template:Navbar
Revision as of 02:54, 22 December 2021 by Cooperdk (talk | contribs) (1 revision imported: Imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This box: view • talk • edit
Template documentation[ view · edit · history · purge ]
This documentation is transcluded from Template:Navbar/doc.

No description yet available.

Contents

  • [+]1 Usage
    • 1.1 Template parameters
    • 1.2 Additional information
  • 2 Example
  • 3 ⧼Seealso⧽
  • 4 Localization
  • 5 Examples

Usage

{{navbar |1= |thisbox= }}

Copyable examples when inside a given template adds navbar navigational functionality:

{{navbar|{{subst:PAGENAME}}|mini=1}}
{{navbar|{{subst:PAGENAME}}|plain=1}}
{{navbar|{{subst:PAGENAME}}|mini=1|nodiv=1}}
{{navbar|{{subst:PAGENAME}}|plain=1|nodiv=1}}
{{navbar|{{subst:PAGENAME}}|fontstyle=color:green}}
The {{subst:PAGENAME}} will be substituted with the template’s name when parsed by the servers.

The miniv=1, viewplain=1 and fontcolor= parameters have been deprecated. To use the view-only version, use the {{v}} or {{view}} templates instead.

Template parameters

ParameterDescriptionDefaultStatus
1nameName of the templateemptyrequired
plainplain versionHide the “This box:” textemptyoptional
minishort versionUse one-letter links instead of whole wordsemptyoptional
nodivinline versionUse <bdi> instead of <div> so that the template won’t have its own line in the textemptyoptional
stylebox styleCSS style for the whole boxemptyoptional
fontstylefont styleCSS style for the text, also applied to the links. Useful for setting font color as that would be overridden by default link color.emptyoptional
bracketsbracketsPut [brackets] around the linksemptyoptional
uselanglanguageSet the template’s language. Not used if the template is transcluded on pages translated with the Translate extension.emptyoptional
minivemptydeprecated
viewplainemptydeprecated
fontcolorfont colorSet the font color. Deprecated, use |fontstyle = color:⧼color⧽ instead.emptydeprecated
thisboxTextCustom leading textThis boxoptional
Template data
 Parameter text is empty
<templatedata>JSON</templatedata> ./. {{TemplateBox}}
TemplateData

TemplateData is a way to store information about template parameters (the description of those and of the whole template) for both humans and machines. It is used by VisualEditor and possibly other tools like Upload Wizard.


Existing template documentation
At Wikimedia Commons, it is recommended to use {{TemplateBox}} with either ‎useTemplateData=1 or ‎useTemplateData=only on the ‎/doc subpage and transcluding it with {{Documentation}} into the template. ‎<nowiki>-tags can be wrapped around the arguments, if required, to avoid templates being expanded.

Newly created template documentation and imports
Another option, especially for imported templates, or for users with JSON experience, is placing raw ‎<templatedata>-tags into the Wikitext of the template, as described in various Wikipediae.

Discussion
There is an ongoing discussion about that matter. Feel invited to comment if you are experienced in either way, your time permits and if you like to share your opinion or to make a suggestion.


Wikipedia's help about TemplateData • Commons-specific information

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
name1

Name of the template

Templaterequired
bracketsbrackets

Put [brackets] around the links

Unknownoptional
font colorfontcolor

Set the font color. Deprecated, use |fontstyle = color:⧼color⧽ instead.

Linedeprecated
font stylefontstyle

CSS style for the text, also applied to the links. Useful for setting font color as that would be overridden by default link color.

Lineoptional
short versionmini

Use one-letter links instead of whole words

Unknownoptional
miniv

Unknowndeprecated
inline versionnodiv

Use <bdi> instead of <div> so that the template won’t have its own line in the text

Unknownoptional
plain versionplain

Hide the “This box:” text

Unknownoptional
box stylestyle

CSS style for the whole box

Lineoptional
Textthisbox

Custom leading text

Default
This box
Lineoptional
languageuselang

Set the template’s language. Not used if the template is transcluded on pages translated with the Translate extension.

Lineoptional
viewplain

Unknowndeprecated

Additional information

The template is intended to be used in the following namespaces: no namespace specified

The template is intended to be used by the following user groups: no user group specified

Example

{{navbar|navbar/doc}}

renders as:

{{Navbar/i18n{{#translation:}} |1=navbar/doc |nodiv= |fontcolor= |fontstyle= |style= |mini= |miniv= |plain= |viewplain= |brackets= }}

⧼Seealso⧽

  • {{Tnavbar-collapsible}}: For use in conjunction with Collapsible tables, floats v • d • e opposite of the [hide]/[show] feature.

Localization

English ∙

This template makes use of {{Autotranslate}} and the translate extension. The layout of the template can be found under Template:navbar/layout.

Translate this template now!
 Administrate translations.

Examples

Options Parameters Produces...
Normal {{navbar|Template Name}} {{Navbar/i18n{{#translation:}} 1=navbar/doc nodiv= fontcolor= fontstyle= style= mini= miniv= plain= viewplain= brackets=

}}

Different text {{Navbar|Template Name|thisbox=This template}}
This template: view • talk • edit
No "This box:" text. {{navbar|Template Name|plain=1}} {{Navbar/i18n{{#translation:}} 1=navbar/doc nodiv= fontcolor= fontstyle= style= mini= miniv= plain=1 viewplain= brackets=

}}

Short version. {{navbar|Template Name|mini=1}} {{Navbar/i18n{{#translation:}} 1=navbar/doc nodiv= fontcolor= fontstyle= style= mini=1 miniv= plain= viewplain= brackets=

}}

Good for "blending" into text. {{navbar|Template Name|nodiv=1}} Lorem {{Navbar/i18n{{#translation:}} 1=navbar/doc nodiv=1 fontcolor= fontstyle= style= mini= miniv= plain= viewplain= brackets=

}} Ipsum

Blended, no "This box:" text. {{navbar|Template Name|plain=1|nodiv=1}} Lorem {{Navbar/i18n{{#translation:}} 1=navbar/doc nodiv=1 fontcolor= fontstyle= style= mini= miniv= plain=1 viewplain= brackets=

}} Ipsum

Blended, short version. {{navbar|Template Name|mini=1|nodiv=1}} Lorem {{Navbar/i18n{{#translation:}} 1=navbar/doc nodiv=1 fontcolor= fontstyle= style= mini=1 miniv= plain= viewplain= brackets=

}} Ipsum

For a color option. {{navbar|Template Name|fontstyle=color:green}} {{Navbar/i18n{{#translation:}} 1=navbar/doc nodiv= fontcolor= fontstyle=color:green style= mini= miniv= plain= viewplain= brackets=

}}


Retrieved from "https://lr2wiki.porn-organizer.org/index.php?title=Template:Navbar/layout&oldid=358"
Categories:
  • Templates using TemplateData
  • Templates using the Translate extension for internationalisation
Hidden category:
  • Pages with too many expensive parser function calls
  • Privacy policy
  • About The Lab Rats 2 - Reformulate Wiki
  • Disclaimers
    • This page was last edited on 22 December 2021, at 02:54.
    • Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
    • Creative Commons Attribution-ShareAlike
    • Powered by MediaWiki

    timeline Recent changes
    arrow_forward_ios

    No changes during the given period match these criteria.

    info About The Lab Rats 2 - Reformulate Wiki
    edit

    The wiki for the adult sandbox game Lab Rabs 2 - Reformulate

    search saved_search
    search saved_search Search
    apps
    • live_help
    • hive
    • insert_link
    • timeline
    • visibility
    • shuffle
    • build
    • help
    • file_download
    • attachment
    public_off Not logged inReady
    widgets
    public StandardReady
    hive MirahezeReady
    Qora QoreReady
    • Privacy policy
    • About The Lab Rats 2 - Reformulate Wiki
    • Disclaimers
    insert_link timeline visibility shuffle build help file_download attachment
    account_circle
    • refresh

    • Create account
    • Log in
    refresh