Registration has been disabled and the moderation extension has been turned off.
Contact an admin on Discord or EDF if you want an account. Also fuck bots.

Template:EDFthread: Difference between revisions

From Encyclopedia Dramatica
Jump to navigation Jump to search
imported>Hipcrime
fix
mNo edit summary
 
(41 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<includeonly><span class="plainlinks" style="white-space:nowrap;">[[File:lolgo.png|14px|link=https://www.encyclopediadramatica.online/forums/threads/{{{1}}}/]] [https://www.encyclopediadramatica.online/forums/threads/{{{1}}}/ '''{{{2|{{{1}}}}}}''']</span></includeonly><noinclude>
[[File:forumlambda.png|16px|link=https://dramatica.wtf/threads/{{{1}}}]] <span class="plainlinks" style="font-weight:bold">[https://dramatica.wtf/threads/{{{1}}}/ {{#if:{{{2|}}}|{{{2}}}|Thread ID #{{{1}}}}}]</span><noinclude>
== Usage ==


This template indicates a link to an [[EDF2]] thread.
==Usage==
This template references an [https://dramatica.wtf/index.php EDF] thread, by its ID.


Syntax:
The basic syntax for this template is as follows:
<pre>{{edfthread|<thread id>|<optional text label>}}</pre>


'''<pre>{{ EDFthread | 1 | 2 }}</pre>'''
Where:
*<code>thread id</code> is the ID number of the thread. To obtain a thread's ID information, go to the address bar in your browser, and you should see something similar to the following:
**<code>.../index.php?threads/name.of.thread.ID/</code>
**The "ID" is the numerical ID for the current thread, and that's the first argument for this template.
*<code>optional text label</code> is a label you can give to the link. This is completely optional, and in this argument's absence, the default text label for the link will be <code>Thread ID#<thread id></code>.


where:
[[Category:Link Templates|{{PAGENAME}}]]
 
</noinclude>
* 1 = the thread's ID #: this can be found by hovering over the timestamp of the first post in the thread, or in the thread URL after the thread name.
* 2 = the link's description
 
'''Note:''' do not use whitespace immediately before or after vertical bars or curly brackets
 
=== Example ===
 
This:
 
<pre>{{EDFthread|1070|Some random thread}}</pre>
 
produces this:
 
{{EDFthread|1070|Some random thread}}
 
== See Also ==
 
[[File:lolgo.png|14px|link=template:EDF]] [[:Template:EDF]] - for linking to individual posts.
 
[[Category:Link Templates|{{PAGENAME}}]]</noinclude>

Latest revision as of 06:27, 12 June 2024

Thread ID #{{{1}}}

Usage

This template references an EDF thread, by its ID.

The basic syntax for this template is as follows:

{{edfthread|<thread id>|<optional text label>}}

Where:

  • thread id is the ID number of the thread. To obtain a thread's ID information, go to the address bar in your browser, and you should see something similar to the following:
    • .../index.php?threads/name.of.thread.ID/
    • The "ID" is the numerical ID for the current thread, and that's the first argument for this template.
  • optional text label is a label you can give to the link. This is completely optional, and in this argument's absence, the default text label for the link will be Thread ID#<thread id>.