Nowa Micropedia jest jeszcze w fazie beta. W razie problemów, napisz maila na pomoc@wiki.mikronacje.info albo zgłoś go na kanale na Mikronacyjnym Discordzie!
Szablon:Edit: Różnice pomiędzy wersjami
Z Micropedia
imported>AStranger195 Nie podano opisu zmian |
imported>XaveryKlopocki m (1 wersja) |
(Brak różnic)
|
Aktualna wersja na dzień 02:56, 12 kwi 2018
[edit] You don't want this version of the documentation template on your wiki! Click here to revert it.
For a documentation template you can use on your wiki, see w:c:templates:Template:Documentation (copy).
Template documentation
|
---|
Note: the template above may sometimes be partially or fully invisible. |
View or edit this documentation. (How does this work?) |
Editors can experiment with this template's sandbox and test case pages. |
- Description
- This template creates a clickable edit link for the given page name.
- Syntax
- Type
{{edit}}
,{{edit|pagename}}
or{{edit|pagename|linkname}}
. - Required parameters
1 =
Pagename to edit.- Optional parameters
2 =
Linkname instead of "edit".3 =
Section # to edit (warning, if sections are inserted above expected section, numbering will change).color =
Alternative link color instead of inherited theme default.float =
Alternative link float CSS instead of none.fontsize =
Alternative link font size CSS instead of normal.margintop=
Alternative link margin-top CSS instead of inherit.- Sample output
{{edit}}
gives...- [edit]
{{edit|Micropedia}}
gives...- [edit]
{{edit|Micropedia|edit the main page!}}
gives...- [edit the main page!]
{{edit|Template_guidelines|Edit template code rules (section 2)|2}}
gives...- [Edit template code rules (section 2)]
{{edit|Template_guidelines|3=2}}
gives...- [edit]
{{edit|Micropedia|edit the main page!|color=gray|fontsize=small}}
gives...- [edit the main page!]