Difference between revisions of "Template:Page/spec/tweet"
Jump to navigation
Jump to search
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | < | + | <noinclude> |
[[category:layout]] | [[category:layout]] | ||
+ | </noinclude><includeonly><hide> | ||
[[page type::spec/tweet]] | [[page type::spec/tweet]] | ||
[[source::Twitter]] | [[source::Twitter]] | ||
Line 6: | Line 7: | ||
''{{#if: {{#show:{{FULLPAGENAME}}|?parent id#-}} | ''{{#if: {{#show:{{FULLPAGENAME}}|?parent id#-}} | ||
| '''{{#show:{{FULLPAGENAME}}|?child type}}''' for [[Tweet/{{#show:{{FULLPAGENAME}}|?parent id#-}}]] by {{#show:Tweet/{{#show:{{FULLPAGENAME}}|?parent id#-}}|?from user#-}} | | '''{{#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%;">{{#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}}]] | {{#ask:[[parent id::{{#show:{{FULLPAGENAME}}|?post id}}]] | ||
| mainlabel=- | | mainlabel=- | ||
Line 16: | Line 16: | ||
| named args=yes | | named args=yes | ||
| template=list/spec/tweet | | template=list/spec/tweet | ||
− | | intro=<h2>Responses</h2><table><tr><th>When</th><th>Who</th><th>Content</th></tr> | + | | intro=<h2>Responses</h2><table><tr><th>When</th><th>Type</th><th>Who</th><th>Content</th></tr> |
| outro=</table> | | outro=</table> | ||
| default=<i>(no responses)</i> | | default=<i>(no responses)</i> | ||
+ | | ?child type | ||
| ?when posted # -F[Y-m-d h:i] | | ?when posted # -F[Y-m-d h:i] | ||
| ?from user | | ?from user | ||
+ | | ?post id | ||
| ?post content | | ?post content | ||
}} | }} | ||
+ | </includeonly> |
Latest revision as of 00:19, 29 July 2020