Difference between revisions of "Template:Page/spec/tweet"

From Issuepedia
Jump to navigation Jump to search
(style for the blockquote)
 
(20 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><hide>
+
<noinclude>
 +
[[category:layout]]
 +
</noinclude><includeonly><hide>
 
[[page type::spec/tweet]]
 
[[page type::spec/tweet]]
 
[[source::Twitter]]
 
[[source::Twitter]]
</hide>[https://twitter.com/{{#show:{{FULLPAGENAME}}|?author#-}}/status/{{#show:{{FULLPAGENAME}}|?post id#-}} {{#show:{{FULLPAGENAME}}|?When posted}}] by {{#show:{{FULLPAGENAME}}|?author#-}}
+
</hide>[https://twitter.com/{{#show:{{FULLPAGENAME}}|?from user#-}}/status/{{#show:{{FULLPAGENAME}}|?post id#-}} {{#show:{{FULLPAGENAME}}|?When posted}}] by '''{{#show:{{FULLPAGENAME}}|?from user#-}}'''
* '''reshare of''': [[Tweet/{{#show:{{FULLPAGENAME}}|?repost of#-}}]] by {{#show:Tweet/{{#show:{{FULLPAGENAME}}|?repost of#-}}|?author#-}}
+
''{{#if: {{#show:{{FULLPAGENAME}}|?parent id#-}}
==Content==
+
| '''{{#show:{{FULLPAGENAME}}|?child type}}''' for [[Tweet/{{#show:{{FULLPAGENAME}}|?parent id#-}}]] by {{#show:Tweet/{{#show:{{FULLPAGENAME}}|?parent id#-}}|?from user#-}}
<blockquote style="border: 1px solid #ccc; padding-left: 0.5em; font-size: 90%;">{{#show:{{FULLPAGENAME}}|?Post content}}</blockquote>
+
| (top-level post) }}''<blockquote style="border: 1px solid #ccc; padding-left: 0.5em; font-size: 90%; white-space: pre-line;">{{#show:{{FULLPAGENAME}}|?Post content}}</blockquote>
 
<hr>
 
<hr>
 +
{{#ask:[[parent id::{{#show:{{FULLPAGENAME}}|?post id}}]]
 +
| mainlabel=-
 +
| sort=when posted
 +
| order=desc
 +
| format=list
 +
| named args=yes
 +
| template=list/spec/tweet
 +
| intro=<h2>Responses</h2><table><tr><th>When</th><th>Type</th><th>Who</th><th>Content</th></tr>
 +
| outro=</table>
 +
| default=<i>(no responses)</i>
 +
| ?child type
 +
| ?when posted # -F[Y-m-d h:i]
 +
| ?from user
 +
| ?post id
 +
| ?post content
 +
}}
 
</includeonly>
 
</includeonly>

Latest revision as of 00:19, 29 July 2020