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

From Soyjak Wiki, The Free Soycyclopedia
Jump to navigationJump to search
(→‎Template:CitePost: Improved documentation, added examples.)
No edit summary
Line 1: Line 1:
<includeonly>/{{{board}}}/, post no. {{{no}}}. ''{{{caption|(No caption)}}}''. {{{date}}}. {{{url}}}#{{{no}}}</includeonly><noinclude>
<div style="background: black; color: #00FE20; padding: 0.5em 1em; text-align: center; text-shadow: 0px 1px 3px #00fe20, 1px 0px 3px #00fe20; box-shadow: 0px 0px 16px 2px #00fe20;">[[File:Jannycia.png|72px]] Warning: this page or section may contain disinformation, or be a CIA psy-op. Proceed with caution.</div>
The template '''CitePost''' is meant to be used inside <code><nowiki><ref>...</ref></nowiki></code> tags.
 
== Arguments ==
 
{| class="wikitable"
! Argument !! Description !! Example
|-
| '''board''' || The board name, without slashes. || soy
|-
| '''no''' || The post number. || 2480
|-  
| '''caption'''
|
* 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.
* Note that template will automatically add a period after the caption, so remove trailing periods at the end.
|
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.
* Preferably spell out the month, like <code>Month DD, YYYY</code>, or use US-style dates, with the month first: 9/8/2020.
| 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 ==
 
=== Citing an OP ===
 
<pre><nowiki>{{Template:CitePost|board=soy|no=2480|caption=This thread is for either newfags or people that don't have enough soy memes in their folder|date=September 8, 2020|url=https://web.archive.org/web/20210531060425/https://soyjak.party/soy//res/2480.html}}</nowiki></pre>
 
/soy/, post no. 2480. ''This thread is for either newfags or people that don't have enough soy memes in their folder''. September 8, 2020. https://web.archive.org/web/20210531060425/https://soyjak.party/soy//res/2480.html#2480
 
=== Citing a reply ===
 
<pre><nowiki>{{Template:CitePost|board=soy|no=63950|caption=Make epic GIFs:|date=March 28, 2021|url=https://web.archive.org/web/20210531060425/https://soyjak.party/soy//res/2480.html}}</nowiki></pre>
 
/soy/, post no. 63950. ''Make epic GIFs:''. March 28, 2021. https://web.archive.org/web/20210531060425/https://soyjak.party/soy//res/2480.html#63950
 
=== Citing a post without a caption ===
 
<pre><nowiki>{{Template:CitePost|board=soy|no=100000|date=June 2, 2021|url=https://web.archive.org/web/20210602135503/https://soyjak.party/soy//res/99992.html}}</nowiki></pre>
 
/soy/, post no. 100000. ''(No caption)''. June 2, 2021. https://web.archive.org/web/20210602135503/https://soyjak.party/soy//res/99992.html#100000
 
</noinclude>

Revision as of 14:36, 29 June 2021

Warning: this page or section may contain disinformation, or be a CIA psy-op. Proceed with caution.