Difference between revisions of "Template:Multiple choice"

From The Wiki Camp 2
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#invoke:Multiple choice|generate|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|{{{6|}}}|{{{7|}}}|{{{8|}}}}}</includeonly><noinclude>
+
<includeonly>{{#css:
{{Multiple choice|a|b|c|d}}
+
.multiple-choice {
 +
display: inline-block;
 +
width: 16px;
 +
height: 16px;
 +
border-radius: 8px;
 +
border: 2px gray solid;
 +
vertical-align: middle;
 +
box-sizing: border-box;
 +
margin-right: 4px;
 +
}
 +
.multiple-choice-selected {
 +
background: purple;
 +
border-color: purple;
 +
}
 +
.multiple-choice + .special {
 +
display: inline;
 +
}
 +
}}{{#invoke:Multiple choice|multiple_choice}}</includeonly><noinclude>
 +
{{Multiple choice|id|option 1|option 2|option 3|option 4}}
 +
 
 +
See also: [[Template:Checklist]]
 
</noinclude>
 
</noinclude>

Latest revision as of 15:04, 21 July 2024

option 1
option 2
option 3
option 4

See also: Template:Checklist