Template:Tweet/doc: Difference between revisions
Template page
More actions
No edit summary |
Added pfp documentation and improved example |
||
| Line 5: | Line 5: | ||
Meant to be used to (poorly) spoof a tweet embed. | Meant to be used to (poorly) spoof a tweet embed. | ||
<pre>{{tweet | <pre>{{tweet | ||
|pfp = | |||
|username = | |username = | ||
|@ = | |@ = | ||
| Line 16: | Line 17: | ||
|- | |- | ||
! Parameter || Description || Type|| Status | ! Parameter || Description || Type|| Status | ||
|- | |||
| pfp || Profile picture of the person tweeting. Will optionally default to [[:File:Embedprofile.png]] if none is specified. Will automatically scale to 50px and place wikilink double brackets. || content || required | |||
|- | |- | ||
| username|| Username of the person making the Tweet. || content || required | | username|| Username of the person making the Tweet. || content || required | ||
| Line 30: | Line 33: | ||
== Examples == | == Examples == | ||
The following would be an example of a hypothetical tweet in which [[Destiny]] (@TheOmniLiberal) says "Together we fuck shit up." at 12:34 AM CST on March 19, 2024. | The following would be an example of a hypothetical tweet in which [[Destiny]] (@TheOmniLiberal) says "Together we fuck shit up." at 12:34 AM CST on March 19, 2024. | ||
<pre>{{tweet | |||
|pfp =File:DestinyLex.jpg | |||
|username =Destiny | |||
|@ =TheOmniLiberal | |||
|body =Together we fuck shit up. | |||
|time =12:34 AM CST | |||
|date =Mar 19, 2024 | |||
}}</pre> | |||
How it will present: | |||
{{tweet | {{tweet | ||
|pfp =File:DestinyLex.jpg | |||
|username =Destiny | |username =Destiny | ||
|@ =TheOmniLiberal | |@ =TheOmniLiberal | ||
Revision as of 18:48, 19 March 2024
Documentation for Template:Tweet
Useage
Meant to be used to (poorly) spoof a tweet embed.
{{tweet
|pfp =
|username =
|@ =
|body =
|time =
|date =
}}
Parameters
| Parameter | Description | Type | Status |
|---|---|---|---|
| pfp | Profile picture of the person tweeting. Will optionally default to File:Embedprofile.png if none is specified. Will automatically scale to 50px and place wikilink double brackets. | content | required |
| username | Username of the person making the Tweet. | content | required |
| @ | @Tag of the person making the tweet. Do not include the "@". | content | required |
| body | Example | content | required |
| time | Example | content | required |
| date | Example | content | required |
Examples
The following would be an example of a hypothetical tweet in which Destiny (@TheOmniLiberal) says "Together we fuck shit up." at 12:34 AM CST on March 19, 2024.
{{tweet
|pfp =File:DestinyLex.jpg
|username =Destiny
|@ =TheOmniLiberal
|body =Together we fuck shit up.
|time =12:34 AM CST
|date =Mar 19, 2024
}}
How it will present:
| Destiny @TheOmniLiberal |
|
| Together we fuck shit up. | |
| 12:34 AM CST · Mar 19, 2024 | |