- 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>TabbyGarf No edit summary |
imported>MarioMario456 rewriting to use {{ws}} |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly>{{ws|Edf2favicon.png|https://forum.encyclopediadramatica.online/{{#switch:{{{1}}} | ||
| member = members/{{{2}}} | |member=members/{{{2}}} | ||
| post = posts/{{{2}}} | |post=posts/{{{2}}} | ||
| thread = threads/{{{2}}} | |thread=threads/{{{2}}} | ||
| m = members/{{{2}}} | |m=members/{{{2}}} | ||
| p = posts/{{{2}}} | |p=posts/{{{2}}} | ||
| t = threads/{{{2}}} | |t=threads/{{{2}}} | ||
| posts/{{{1}}} | |posts/{{{1}}} | ||
}} | }}|{{#switch:{{{1}}} | ||
| member = | |member={{{3|Member #{{{2}}}}}} | ||
| post = | |post={{{3|Post #{{{2}}}}}} | ||
| thread = | |thread={{{3|Thread #{{{2}}}}}} | ||
| m = | |m={{{3|Member #{{{2}}}}}} | ||
| p = | |p={{{3|Post #{{{2}}}}}} | ||
| t = | |t={{{3|Thread #{{{2}}}}}} | ||
| | |{{{2|Post #{{{1}}}}}} | ||
}}</includeonly><noinclude>{{documentation}} [[Category:Link Templates]]</noinclude> | }}}}</includeonly><noinclude>{{documentation}} [[Category:Link Templates]]</noinclude> |
Revision as of 19:38, 2 April 2023
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. |