- Portals
- The Current Year
- ED in the News
- Admins
- Help ED Rebuild
- Archive
- ED Bookmarklet
- Donate Bitcoin
Contact an admin on Discord or EDF if you want an account. Also fuck bots.
Template:EDF: Difference between revisions
imported>MarioMario456 rewriting to use {{ws}} |
No edit summary |
||
(19 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{ws|Edf2favicon.png|https:// | <includeonly>{{ws|Edf2favicon.png|https://forums.{{SERVERNAME}}/{{#switch:{{{1}}} | ||
|member=members/{{{2}}} | |member=members/{{{2}}} | ||
|post=posts/{{{2}}} | |post=posts/{{{2}}} | ||
|thread=threads/{{{2}}} | |thread=threads/{{{2}}} | ||
|forum=forums/{{{2}}} | |||
|m=members/{{{2}}} | |m=members/{{{2}}} | ||
|p=posts/{{{2}}} | |p=posts/{{{2}}} | ||
|t=threads/{{{2}}} | |t=threads/{{{2}}} | ||
| | |f=forums/{{{2}}} | ||
|threads/{{{1}}} | |||
}}|{{#switch:{{{1}}} | }}|{{#switch:{{{1}}} | ||
|member={{{3|Member #{{{2}}}}}} | |member={{{3|Member #{{{2}}}}}} | ||
|post={{{3|Post #{{{2}}}}}} | |post={{{3|Post #{{{2}}}}}} | ||
|thread={{{3|Thread #{{{2}}}}}} | |thread={{{3|Thread #{{{2}}}}}} | ||
|forum={{{3|Forum #{{{2}}}}}} | |||
|m={{{3|Member #{{{2}}}}}} | |m={{{3|Member #{{{2}}}}}} | ||
|p={{{3|Post #{{{2}}}}}} | |p={{{3|Post #{{{2}}}}}} | ||
|t={{{3|Thread #{{{2}}}}}} | |t={{{3|Thread #{{{2}}}}}} | ||
|{{{2| | |f={{{3|Forum #{{{2}}}}}} | ||
|{{{2|Threads #{{{1}}}}}} | |||
}}}}</includeonly><noinclude>{{documentation}} [[Category:Link Templates]]</noinclude> | }}}}</includeonly><noinclude>{{documentation}} [[Category:Link Templates]]</noinclude> |
Latest revision as of 23:47, 30 August 2024
Indicates a link to an EDF post, thread or profile.
Syntax
{{ EDF | type | post # | description }}
- type of link - thread, post or member
- post # - the number of the post, can be found by hovering over the timestamp
- description - the link text
Note: remember to remove all whitespaces (except for the ones in description) and put everything in one long line, otherwise it might get broken.
Examples
Member Links
{{EDF|m|tabbygarf.438|TabbyGarf}}
{{EDF|member|tabbygarf.438}}
produces:
TabbyGarf
Member #438
Thread Links
{{EDF|t|editor-news-templates-templates-articles-and-moar-templates.1072/|Templates, templates, articles and moar templates!}}
{{EDF|thread|1072|Templates, templates, articles and moar templates!}}
produces:
Templates, templates, articles and moar templates!
Thread #1072
Post Links
{{EDF|t|1072/#post-24465|Post by Viril.Feline.Wyyzrd}}
{{EDF|thread|editor-news-templates-templates-articles-and-moar-templates.1072/#post-24465|Post by Viril.Feline.Wyyzrd}}
{{EDF|p|24465}}
{{EDF|post|24465|Post byViril.Feline.Wyyzrd}}
{{EDF||24465|Post by Viril.Feline.Wyyzrd}}
produces:
Post by Viril.Feline.Wyyzrd
Post by Viril.Feline.Wyyzrd
Post #24465
Post by Viril.Feline.Wyyzrd
24465
The above documentation is transcluded from Template:EDF/doc. (edit | history) Changes can be experimented in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |