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

From Issuepedia
Jump to navigation Jump to search
(Created page with "<includeonly><hide> page type::spec/tweet </hide>'''{{#show:{{FULLPAGENAME}}|?When posted}}''' by {{#show:{{FULLPAGENAME}}|?author}}''' <hr> {{#show:{{FULLPAGENAME}}|?Post...")
 
 
(29 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]]
</hide>'''{{#show:{{FULLPAGENAME}}|?When posted}}''' by {{#show:{{FULLPAGENAME}}|?author}}'''
+
[[source::Twitter]]
 +
</hide>[https://twitter.com/{{#show:{{FULLPAGENAME}}|?from user#-}}/status/{{#show:{{FULLPAGENAME}}|?post id#-}} {{#show:{{FULLPAGENAME}}|?When posted}}] by '''{{#show:{{FULLPAGENAME}}|?from user#-}}'''
 +
''{{#if: {{#show:{{FULLPAGENAME}}|?parent id#-}}
 +
| '''{{#show:{{FULLPAGENAME}}|?child type}}''' for [[Tweet/{{#show:{{FULLPAGENAME}}|?parent id#-}}]] by {{#show:Tweet/{{#show:{{FULLPAGENAME}}|?parent id#-}}|?from user#-}}
 +
| (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>
{{#show:{{FULLPAGENAME}}|?Post content}}
+
{{#ask:[[parent id::{{#show:{{FULLPAGENAME}}|?post id}}]]
<blockquote>{{embed/tweet|{{#show:{{FULLPAGENAME}}|?retweet of}}}}</blockquote></includeonly>
+
| 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>

Latest revision as of 00:19, 29 July 2020