틀: ButtonLoadPdf

jiamdiary
이동: 둘러보기, 검색
2번째 줄: 2번째 줄:
 
<html>
 
<html>
 
<div style="display:flex; margin:auto 5px;">
 
<div style="display:flex; margin:auto 5px;">
<span onclick="loadPdfWindow();" style="background-color:#eeeeee; padding:1em; cursor:pointer;">원문이미지보기</span>
+
<span onclick="loadPdfWindow({{#if:{{{startpage|}}}|{{{startpage|}}} }});" style="background-color:#eeeeee; padding:1em; cursor:pointer;">원문이미지보기</span>
 
</div>
 
</div>
 
</html>
 
</html>
10번째 줄: 10번째 줄:
 
==사용법==
 
==사용법==
 
<pre>
 
<pre>
{{ButtonLoadPdf}}
+
{{ButtonLoadPdf|startpage=}}
 
</pre>
 
</pre>
  
 
==미리보기==
 
==미리보기==
{{ButtonLoadPdf}}
+
{{ButtonLoadPdf|startpage=4}}
 
</noinclude>
 
</noinclude>

2020년 2월 3일 (월) 08:51 판

원문이미지보기


사용법

{{ButtonLoadPdf|startpage=}}

미리보기

원문이미지보기