• Home
  • Random
  • Nearby
  • Log in
  • Settings
Donate Now If Wikipedia is useful to you, please give today.
  • About Wikipedia
  • Disclaimers
Wikipedia

Template:MACaddr/sandbox

  • Template
  • Talk
  • Language
  • Watch
  • Edit
< Template:MACaddr

This is the template sandbox page for Template:MACaddr (diff).
Template documentation[view] [edit] [history] [purge]

Contents

  • 1 Introduction
  • 2 Arguments
  • 3 Examples
  • 4 Template data
  • 5 See also

Introduction

edit

Template {{MACaddr}} is used to make a MAC address stand out in the text, to improve readability. The address is displayed in uppercase italics to more easily differentiate visually between a MAC address and an IPv6 address.

Arguments

edit

The first parameter is the MAC address to be displayed.

Examples

edit

{{MACaddr|00-0c-29-05-89-d0}} yields: 00-0C-29-05-89-D0 (dashes: IEEE style).

{{MACaddr|10:dd:b1:b9:1b:f1}} yields: 10:DD:B1:B9:1B:F1 (colons: Linux, MacOS style).

{{MACaddr|3c0e.23e2.10b4}} yields: 3C0E.23E2.10B4 (periods: Cisco style).

Template data

edit

Template {{MACaddr}} is used to make a MAC address stand out in the text, to improve readability.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
11

The MAC address to display. A MAC address is displayed in italics, using upper case letters to distinguish them better from IPv6 addresses.

Example
10:dd:b1:b9:1b:f1 or 00-0c-29-05-89-d0
Stringrequired

See also

edit
  • Template:IPaddr, a template for displaying IP addresses.
The above documentation is transcluded from Template:MACaddr/doc. (edit | history)
Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:MACaddr/sandbox&oldid=1037233633"
Last edited on 5 August 2021, at 08:58

Languages

      This page is not available in other languages.

      Wikipedia
      • Wikimedia Foundation
      • Powered by MediaWiki
      • This page was last edited on 5 August 2021, at 08:58 (UTC).
      • Content is available under CC BY-SA 4.0 unless otherwise noted.
      • Privacy policy
      • About Wikipedia
      • Disclaimers
      • Contact Wikipedia
      • Code of Conduct
      • Developers
      • Statistics
      • Cookie statement
      • Terms of Use
      • Desktop