|
|
Zeile 1: |
Zeile 1: |
| <includeonly><blockquote class="{{#if:{{{left|}}}|floatleft|floatright}}" style="max-width: 100%; width: 500px; min-width: 220px; background-color: #F9F9F9; padding: 10px; border-radius: 4px; border: 1px solid #dbdbdb; font-size: .9375rem; line-height: 1.3333;
| | local p = {} |
| {{#if: {{{block|}}}
| | local CS1 = require('Module:Citation/CS1') |
| |display: block; margin: 12.25px 40px; max-width: {{{width|500px}}};
| | |
| |{{#if: {{{left|}}}
| | p[''] = function(frame) |
| |clear: left; float: left; margin: 0.5em 1.4em 0.8em 0;
| | local newFrame = { |
| |clear: right; float: right; margin: 0.5em 0 0.8em 1.4em;
| | getParent = function(self) |
| }} max-width: {{{width|250px}}};
| | return frame |
| }}">
| | end, |
| {{#if: {{{name|}}}||{{Formatting error|Missing <u>name</u> parameter.<br>|nocategory={{{nocategory|}}}}}}}<!--
| | getTitle = function(self) |
| -->{{#if: {{{username|}}}||{{Formatting error|Missing <u>username</u> parameter.<br>|nocategory={{{nocategory|}}}}}}}<!--
| | return 'Template:Cite web' |
| -->{{#if: {{{date|}}}||{{Formatting error|Missing <u>date</u> parameter.<br>|nocategory={{{nocategory|}}}}}}}<!--
| | end, |
| -->{{#if: {{{text|}}}||{{Formatting error|Missing <u>text</u> parameter.<br>|nocategory={{{nocategory|}}}}}}}<!--
| | args = {CitationClass='web'} |
| -->{{#ifeq: {{extract|{{{date|}}}|show=format}} | dmy
| | } |
| ||{{#ifeq: {{extract|{{{date|}}}|show=format}} | mdy
| | setmetatable(newFrame, { |
| ||{{Formatting error|<u>date</u> parameter should be [[MOS:DATE|reformatted]] to look like:<br>''1 Jan 1970'' or ''Jan 1, 1970''.<br>|nocategory={{{nocategory|}}}}}
| | __index = function(t, k) |
| }}
| | if type(frame[k]) == 'function' then |
| }}<!--
| | return function(...) |
| -->{{#if: {{{ID|{{{id|{{{reference|{{{ref|}}}}}}}}}}}}
| | return frame[k](frame, select(2, ...)) |
| ||{{Formatting error|<u>reference</u> or <u>ID</u> parameter required.<br>|nocategory={{{nocategory|}}}}}
| | end |
| }}
| | else |
| <table role="presentation" style="line-height: 1em; width: 100%; font-size: 90%;">
| | return frame[k] |
| <tr>
| | end |
| {{#if: {{{image|}}}
| | end |
| |<td rowspan=2 style="padding-right: 5px; width: 28px;">
| | }) |
| <div style="height: 28px; width: 28px; padding: 0; border-radius: 50%; overflow: hidden;">
| | return CS1.citation(newFrame) |
| [[File:{{{image|}}}|left|28px]]
| | end |
| </div>
| | |
| </td>
| | return p |
| |}}
| |
| <th style="text-align: left; white-space: nowrap;">{{{name|}}}</th>
| |
| <td style="text-align: right; color: #4C545C;">[[Twitter]]</td>
| |
| </tr>
| |
| <tr>
| |
| <td style="color: #4C545C; white-space: nowrap; font-size: .0.822rem;">@{{{username|}}}</td>
| |
| </tr>
| |
| </table>
| |
| {{#if: {{{replyto|}}}|
| |
| <div style="color: #4C545C; font-size: 85%;">
| |
| Replying to @{{{replyto|}}}
| |
| </div>
| |
| |}}
| |
| {{#if: {{{lang|{{{language|}}}}}}
| |
| |<div style='font-size: 90%; color: #1c2022; text-align: left'>
| |
| {{lang-{{{lang|{{{language|}}}}}}|{{{text|}}}}}
| |
| </div>
| |
| |<div style='font-size: 90%; color: #1c2022; text-align: left'>
| |
| {{{text|}}}
| |
| </div>
| |
| }}
| |
| {{#if: {{{translation|}}}|
| |
| <hr style="height: 0; border: 0; border-top: 1px solid #aaa; margin: 10px 0 10px 0;">
| |
| <div style="font-size: 90%;">
| |
| {{{translation|}}}
| |
| </div>
| |
| |}}
| |
| <div style="color: #4C545C; font-size: 90%;">
| |
| {{{date|}}}<!--
| |
| -->{{{reference|{{{ref
| |
| |{{#tag:ref|{{cite tweet|user= {{{username}}} |author= {{{name|}}} |number= {{{ID|{{{id|}}}}}} |date= {{#time: j M Y |{{{date}}}}} |title= {{#invoke:String|replace|{{{text}}}|%s+| |plain=false}} }} }}
| |
| }}}}}}
| |
| </div>
| |
|
| |
| <blockquote class="{{#if:{{{left|}}}|floatleft|floatright}}" style="max-width: 100%; width: 500px; min-width: 220px; background-color: #F9F9F9; padding: 0; border-radius: 4px; border: 1px solid #dbdbdb; font-size: .9375rem; line-height: 1.3333;
| |
| {{#if: {{{block|}}}
| |
| |display: block; margin: 12.25px 40px; max-width: {{{width|500px}}};
| |
| |{{#if: {{{left|}}}
| |
| |clear: left; float: left; margin: 0.5em 1.4em 0.8em 0;
| |
| |clear: right; float: right; margin: 0.5em 0 0.8em 1.4em;
| |
| }} max-width: {{{width|220px}}};
| |
| }}">
| |
| {{#if: {{{name2|}}}||{{Formatting error|Missing <u>name</u> parameter.<br>|nocategory={{{nocategory|}}}}}}}<!--
| |
| -->{{#if: {{{username2|}}}||{{Formatting error|Missing <u>username</u> parameter.<br>|nocategory={{{nocategory|}}}}}}}<!--
| |
| -->{{#if: {{{date2|}}}||{{Formatting error|Missing <u>date</u> parameter.<br>|nocategory={{{nocategory|}}}}}}}<!--
| |
| -->{{#if: {{{text2|}}}||{{Formatting error|Missing <u>text</u> parameter.<br>|nocategory={{{nocategory|}}}}}}}<!--
| |
| -->{{#ifeq: {{extract|{{{date2|}}}|show=format}} | dmy
| |
| ||{{#ifeq: {{extract|{{{date2|}}}|show=format}} | mdy
| |
| ||{{Formatting error|<u>date</u> parameter should be [[MOS:DATE|reformatted]] to look like:<br>''1 Jan 1970'' or ''Jan 1, 1970''.<br>|nocategory={{{nocategory|}}}}}
| |
| }}
| |
| }}<!--
| |
| -->{{#if: {{{ID2|{{{id2|{{{reference2|{{{ref|}}}}}}}}}}}}
| |
| ||{{Formatting error|<u>reference</u> or <u>ID</u> parameter required.<br>|nocategory={{{nocategory|}}}}}
| |
| }}
| |
| <table role="presentation" style="line-height: 1em; width: 100%; font-size: 90%;">
| |
| <tr>
| |
| {{#if: {{{image2|}}}
| |
| |<td rowspan=2 style="padding-right: 5px; width: 28px;">
| |
| <div style="height: 28px; width: 28px; padding: 0; border-radius: 50%; overflow: hidden;">
| |
| [[File:{{{image2|}}}|left|28px]]
| |
| </div>
| |
| </td>
| |
| |}}
| |
| <th style="text-align: left; white-space: nowrap;">{{{name2|}}}</th>
| |
| <td style="text-align: right; color: #4C545C;">[[Twitter]]</td>
| |
| </tr>
| |
| <tr>
| |
| <td style="color: #4C545C; white-space: nowrap; font-size: .0.822rem;">@{{{username2|}}}</td>
| |
| </tr>
| |
| </table>
| |
| {{#if: {{{replyto2|}}}|
| |
| <div style="color: #4C545C; font-size: 85%;">
| |
| Replying to @{{{replyto2|}}}
| |
| </div>
| |
| |}}
| |
| {{#if: {{{lang2|{{{language2|}}}}}}
| |
| |<div style='font-size: 90%; color: #1c2022; text-align: left'>
| |
| {{lang2-{{{lang2|{{{language2|}}}}}}|{{{text2|}}}}}
| |
| </div>
| |
| |<div style='font-size: 90%; color: #1c2022; text-align: left'>
| |
| {{{text2|}}}
| |
| </div>
| |
| }}
| |
| {{#if: {{{translation2|}}}|
| |
| <hr style="height: 0; border: 0; border-top: 1px solid #aaa; margin: 10px 0 10px 0;">
| |
| <div style="font-size: 90%;">
| |
| {{{translation2|}}}
| |
| </div>
| |
| |}}
| |
| <div style="color: #4C545C; font-size: 90%;">
| |
| {{{date2|}}}<!--
| |
| -->{{{reference2|{{{ref
| |
| |{{#tag:ref|{{cite tweet|user= {{{username2}}} |author= {{{name2|}}} |number= {{{ID2|{{{id2|}}}}}} |date= {{#time: j M Y |{{{date2}}}}} |title= {{#invoke:String|replace|{{{text2}}}|%s+| |plain=false}} }} }}
| |
| }}}}}}
| |
| </div>
| |
| </blockquote>
| |
| </blockquote></includeonly>
| |
| <noinclude>
| |
| {{documentation}}
| |
| </noinclude>
| |