User talk:Wayne Miller/Templates/Page actions
From Wikipedia, the free encyclopedia
Contents |
---|
[edit] Documentation
{{User:Wayne Miller/Templates/Page actions}}
displays a link to an article followed by a list of links that perform various actions. The template can produce any or all of the following links.
- a link to edit the article
- a link to the article's talk page
- a link to a list of pages that link to the article
- a link to the article's history
- a link to a draft version of the article (in User:Wayne Miller/Drafts)
This template is a modified version of Template:Lts.
[edit] Usage
{{User:Wayne Miller/Templates/Page actions|edit=t|talk=t|links=t|history=t|draft=t|articlename}}
{{User:Wayne Miller/Templates/Page actions|edit=t|talk=t|links=t|history=t|draft=t|articlename|namespace}}
{{User:Wayne Miller/Templates/Page actions|edit=t|talk=t|links=t|history=t|draft=t|articlename|namespace|text}}
Each of the edit
, talk
, links
, history
, and draft
parameters are optional. When set to any value, the template produces an edit, talk, links, history, or draft link appropriately.
The name of the article is given as the first unnamed parameter. The second unnamed parameter represents the article's namespace. The second unnamed parameter is optional; if missing, the template considers the article to be in the main namespace. The third unnamed parameter is link text to use; if missing, the template uses the default link text.
The three unnamed parameters are whitespace-dependent. Do not place whitespace between these parameters and the |
characters.
[edit] Example
Code | Result |
{{User:Wayne Miller/Templates/Page actions|edit=t|Foo}} |
Foo (edit) |
{{User:Wayne Miller/Templates/Page actions|talk=t|Foo}} |
Foo (talk) |
{{User:Wayne Miller/Templates/Page actions|links=t|Foo}} |
Foo (links) |
{{User:Wayne Miller/Templates/Page actions|history=t|Foo}} |
Foo (history) |
{{User:Wayne Miller/Templates/Page actions|draft=t|Foo}} |
Foo (draft) |
{{User:Wayne Miller/Templates/Page actions | edit=t | talk=t | links=t | history=t | draft=t |Foo}} |
Foo (edit talk links history draft) |
{{User:Wayne Miller/Templates/Page actions | edit=t | talk=t | links=t | history=t | draft=t |Wayne Miller/Templates/Page actions|User}} |
User:Wayne Miller/Templates/Page actions (edit talk links history draft) |
{{User:Wayne Miller/Templates/Page actions | edit=t | talk=t | links=t | history=t | draft=t |Wayne Miller/Templates/Page actions|User|Page actions}} |
Page actions (edit talk links history draft) |
[edit] See also
[edit] Discussion
Contents |
Add issues below as you see fit, sign with ~~~~