फलकम्:Official/doc

विकिपीडिया, कश्चन स्वतन्त्रः विश्वकोशः
Jump to navigation Jump to search

Usage[सम्पादयतु]

The purpose of this template is to provide a standard format for labeling links to "official" websites. The only required parameter is the URL. Three other parameters are also available:

  • name= is used to reformat the title if "official website" is not suitable.
  • mobile= is optionally used if there is a different "official website" for use with Mobile Web devices
  • format=flash is optionally used if the website requires Adobe Flash Player software

Some URLs that contain special characters, such as & or =, will break the template. The solution is to prepend the URL with 1=

Code Result
{{Official website|1=example.org}} Official website
{{Official website|1=www.example.org}} Official website
{{Official website|1=http://www.example.org/}} Official website
{{Official website|1=https://www.example.org/}} Official website
{{Official website|1=http://www.example.org/?action=view}} Official website
{{Official website|1=http://www.example.org|name=Official example website}} Official example website
{{Official website|1=example.org|mobile=http://m.example.org}} Official website (Mobile)
{{Official website|1=example.org|format=flash}} लुअ दोषः : expandTemplate: template "Link note" does not exist.

See also[सम्पादयतु]


"https://sa.wikipedia.org/w/index.php?title=फलकम्:Official/doc&oldid=319165" इत्यस्माद् पुनः प्राप्तिः