Template:Quote: Difference between revisions
add optional date parameter Tag: 2017 source edit |
update docstring Tag: 2017 source edit |
||
Line 23: | Line 23: | ||
}, | }, | ||
"date": { | "date": { | ||
"description": "When was it said?", | "description": "When was it said? (prefer Japanese YYYY-MM-DD format)", | ||
"type": "date" | "type": "date" | ||
} | } | ||
} | }, | ||
"description": "Adds a quote to the page citing its author" | |||
} | } | ||
</templatedata></noinclude> | </templatedata></noinclude> |
Revision as of 12:10, 22 December 2024
Example:
text displayed
— Author name, 2024-01-01
Adds a quote to the page citing its author
Parameter | Description | Type | Status | |
---|---|---|---|---|
text | text | Text of the quote itself | String | required |
author | author | Who tf said that!? | Line | required |
date | date | When was it said? (prefer Japanese YYYY-MM-DD format) | Date | optional |