User:User:SneedWeed/SandboxForTemplates on wheels: Difference between revisions

From Soyjak Wiki, The Free Soycyclopedia
Jump to navigationJump to search
m (Seems like parser functions aren't enabled, so I'll just remove that part.)
(Trying out a template to cite posts in ref tags.)
Line 1: Line 1:
<includeonly>/{{{board}}}/, post no. {{{post}}}. Archived on {{{archive-date}}}. {{{archive-url}}}#{{{post}}}</includeonly>
<includeonly>/{{{board}}}/, post no. {{{no}}}. ''{{{caption|(No caption)}}}''. {{{date}}}. {{{url}}}#{{{no}}}</includeonly><noinclude>
== Template:CitePost ==
 
It is meant to be used inside <code><nowiki><ref>...</ref></nowiki></code> tags.
 
{| class="wikitable"
! Argument !! Description !! Example
|-
| '''board''' || The board name, without slashes. || soy
|-
| '''no''' || The post number. || 2480
|-
| '''title'''
|
* If the post has a subject, use the subject line.
* If the post doesn't have a subject, use the first line, or first few lines (fewer is better), separated with slashes (" / ").
* Otherwise, omit this argument. ''(No caption)'' will be automatically inserted by the template.
|
This thread is for either newfags or people that don't have enough soy memes in their folder.
|-
| '''date'''
|
* The date the post was submitted. Hover the mouse over relative dates, such as "N days/months ago" to view the exact day.
* ''Not''  the date on which the page was archived.
* Use MM/DD/YYYY or Month DD, YYYY.
| September 8, 2020
|-
| '''url'''
|
* The URL of the capture of the thread the post was made in.
* The post number (''no'') will be automatically appended at the end, preceded with a #, so the browser will jump to that post.
|
https://web.archive.org/web/20210531060425/https://soyjak.party/soy//res/2480.html
|}
 
=== Examples ===
 
''Soon...''
 
</noinclude>

Revision as of 10:00, 20 June 2021

Template:CitePost

It is meant to be used inside <ref>...</ref> tags.

Argument Description Example
board The board name, without slashes. soy
no The post number. 2480
title
  • If the post has a subject, use the subject line.
  • If the post doesn't have a subject, use the first line, or first few lines (fewer is better), separated with slashes (" / ").
  • Otherwise, omit this argument. (No caption) will be automatically inserted by the template.

This thread is for either newfags or people that don't have enough soy memes in their folder.

date
  • The date the post was submitted. Hover the mouse over relative dates, such as "N days/months ago" to view the exact day.
  • Not the date on which the page was archived.
  • Use MM/DD/YYYY or Month DD, YYYY.
September 8, 2020
url
  • The URL of the capture of the thread the post was made in.
  • The post number (no) will be automatically appended at the end, preceded with a #, so the browser will jump to that post.

https://web.archive.org/web/20210531060425/https://soyjak.party/soy//res/2480.html

Examples

Soon...