Template:Attachment: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(adding edit link)
(Added Template:Documentation.)
 
Line 1: Line 1:
[https://bugzilla.mozilla.org/attachment.cgi?id={{{1}}} attachment {{{1}}}]&nbsp;[https://bugzilla.mozilla.org/attachment.cgi?id={{{1}}}&action=edit <nowiki>[edit]</nowiki>]
[https://bugzilla.mozilla.org/attachment.cgi?id={{{1}}} attachment {{{1}}}]&nbsp;[https://bugzilla.mozilla.org/attachment.cgi?id={{{1}}}&action=edit <nowiki>[edit]</nowiki>]<noinclude>
{{documentation}}
<!-- Add categories to the /doc subpage, not here! -->
</noinclude>

Latest revision as of 21:09, 3 December 2014

attachment {{{1}}} [edit]

Documentation icon Template documentation[view] [edit] [history] [purge]

Usage

{{attachment}} creates a link to an attachment of a bug in Bugzilla, using the attachment's id number. It also provides a link to the attachment's editing page.

Parameters

There is only 1 parameter, which is unnamed and required.

Syntax

The template's syntax is

  • {{attachment|attachment id}}

Required parameter

1

Attachment id number

The id number of the attachment, to which you want to link.

Usage
  • {{attachment|attachment id}}

Example

Case What you type What you see
Attachment id {{attachment|8500940}} attachment 8500940 [edit]

See also