다른 명령
편집 요약 없음 |
편집 요약 없음 |
||
| 99번째 줄: | 99번째 줄: | ||
<templatestyles src="Template:Infobox/styles.css"/> | <templatestyles src="Template:Infobox/styles.css"/> | ||
</includeonly> | </includeonly> | ||
<noinclude> | |||
{{paper | |||
| title={{{title}}} | |||
| youtube={{{youtube}}} | |||
| caption={{{caption}}} | |||
| imageWidth={{{imageWidth}}} | |||
| imageHeight={{{imageHeight}}} | |||
| authors={{{authors}}} | |||
| conference={{{conference}}} | |||
| journal={{{journal}}} | |||
| year={{{year}}} | |||
| doi={{{doi}}} | |||
| pages={{{pages}}} | |||
| publisher={{{publisher}}} | |||
| pdf={{{pdf}}} | |||
}} | |||
==Usage== | |||
<pre> | |||
{{paper | |||
| title= | |||
| youtube=https://www.youtube.com/watch?v=... | |||
| caption= | |||
| imageWidth=320 | |||
| imageHeight=180 | |||
| authors= | |||
| conference= | |||
| journal= | |||
| year= | |||
| doi= | |||
| pages= | |||
| publisher= | |||
| pdf=https://example.com/paper.pdf | |||
}} | |||
</pre> | |||
==TemplateData== | |||
<templatedata> | |||
{ | |||
"params": { | |||
"title": { | |||
"label": "Title", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"youtube": { | |||
"label": "YouTube link", | |||
"description": "Link to a YouTube video (e.g. presentation)", | |||
"type": "string" | |||
}, | |||
"caption": { | |||
"label": "Video caption", | |||
"type": "string" | |||
}, | |||
"imageWidth": { | |||
"label": "Video width", | |||
"type": "number", | |||
"default": 320 | |||
}, | |||
"imageHeight": { | |||
"label": "Video height", | |||
"type": "number", | |||
"default": 180 | |||
}, | |||
"authors": { | |||
"label": "Authors", | |||
"type": "string" | |||
}, | |||
"conference": { | |||
"label": "Conference", | |||
"type": "string" | |||
}, | |||
"journal": { | |||
"label": "Journal", | |||
"type": "string" | |||
}, | |||
"year": { | |||
"label": "Year", | |||
"type": "number" | |||
}, | |||
"doi": { | |||
"label": "DOI", | |||
"type": "string" | |||
}, | |||
"pages": { | |||
"label": "Pages", | |||
"type": "string" | |||
}, | |||
"publisher": { | |||
"label": "Publisher", | |||
"type": "string" | |||
}, | |||
"pdf": { | |||
"label": "PDF Link", | |||
"type": "url" | |||
} | |||
}, | |||
"paramOrder": [ | |||
"title", | |||
"youtube", | |||
"caption", | |||
"imageWidth", | |||
"imageHeight", | |||
"authors", | |||
"conference", | |||
"journal", | |||
"year", | |||
"doi", | |||
"pages", | |||
"publisher", | |||
"pdf" | |||
], | |||
"format": "block" | |||
} | |||
</templatedata> | |||
[[Category:Infobox templates|{{PAGENAME}}]] | |||
</noinclude> | |||
2025년 7월 2일 (수) 04:40 판
<iframe width=""320" height="180"
src="https://www.youtube.com/embed/{{#invoke:URLDecode%7Cdecode%7C{{#replace:{{{youtube}}}%7Chttps://www.youtube.com/watch?v=%7C}}}}%22
frameborder="0" allowfullscreen">
</iframe>
| {{{title}}} | |
|---|---|
| Publication Information | |
| Authors | {{{authors}}} |
| Conference | {{{conference}}} |
| Journal | {{{journal}}} |
| Year | {{{year}}} |
| DOI | {{{doi}}} |
| Pages | {{{pages}}} |
| Publisher | {{{publisher}}} |
| [{{{pdf}}} Full Text] | |
Usage
{{paper
| title=
| youtube=https://www.youtube.com/watch?v=...
| caption=
| imageWidth=320
| imageHeight=180
| authors=
| conference=
| journal=
| year=
| doi=
| pages=
| publisher=
| pdf=https://example.com/paper.pdf
}}
TemplateData
<templatedata> {
"params": {
"title": {
"label": "Title",
"type": "string",
"required": true
},
"youtube": {
"label": "YouTube link",
"description": "Link to a YouTube video (e.g. presentation)",
"type": "string"
},
"caption": {
"label": "Video caption",
"type": "string"
},
"imageWidth": {
"label": "Video width",
"type": "number",
"default": 320
},
"imageHeight": {
"label": "Video height",
"type": "number",
"default": 180
},
"authors": {
"label": "Authors",
"type": "string"
},
"conference": {
"label": "Conference",
"type": "string"
},
"journal": {
"label": "Journal",
"type": "string"
},
"year": {
"label": "Year",
"type": "number"
},
"doi": {
"label": "DOI",
"type": "string"
},
"pages": {
"label": "Pages",
"type": "string"
},
"publisher": {
"label": "Publisher",
"type": "string"
},
"pdf": {
"label": "PDF Link",
"type": "url"
}
},
"paramOrder": [
"title",
"youtube",
"caption",
"imageWidth",
"imageHeight",
"authors",
"conference",
"journal",
"year",
"doi",
"pages",
"publisher",
"pdf"
],
"format": "block"
} </templatedata>