Template:NewLineMark
本模板為斷行模板,用於標記文字某處允許斷行。
概要
本模板為斷行模板,可以在字串間特定位置標記該位置可斷行,以利排版的進行。主要用於過長的數字或一些連續字符串。
參數及使用方法
將模板插入在允許斷行的文字中間即可。
- 一般而言不需參數:
{{NewLineMark}}
- 加參數則是標記斷行前添加一個標點,例如:
{{NewLineMark|,}}
- 第二參數則為模式。目前只有一個模式:
w
:用於對應{{、w}}、{{.w}}等系列模板的功能,例如{{NewLineMark|、|w}}效果近似於{{、w}},又略有不同,作為解決一些系統相容系上的問題的方案。
範例
例如超長整數,如梅森質數M1279為10407932194664399081925240327364085538615262247266704805319112350403608059673360298012239441732324184842421613954281007791383566248323464908139906605677320762924129509389220345773183349661583550472959420547689811211693677147548478866962501384438260291732348885311160828538416585028255604666224831890918801847068222203140521026698435488732958028878050869736186900714720710555703168729087 (數字過長)
會超出版面,因可以以用:
原始碼 | M<sub>1279</sub>=10{{NewLineMark}}407{{NewLineMark}}932{{NewLineMark}}194{{NewLineMark}}664{{NewLineMark}}399{{NewLineMark}}081{{NewLineMark}}925{{NewLineMark}}240{{NewLineMark}}327{{NewLineMark}}364{{NewLineMark}}085{{NewLineMark}}538{{NewLineMark}}615{{NewLineMark}}262{{NewLineMark}}247{{NewLineMark}}266{{NewLineMark}}704{{NewLineMark}}805{{NewLineMark}}319{{NewLineMark}}112{{NewLineMark}}350{{NewLineMark}}403{{NewLineMark}}608{{NewLineMark}}059{{NewLineMark}}673{{NewLineMark}}360{{NewLineMark}}298{{NewLineMark}}012{{NewLineMark}}239{{NewLineMark}}441{{NewLineMark}}732{{NewLineMark}}324{{NewLineMark}}184{{NewLineMark}}842{{NewLineMark}}421{{NewLineMark}}613{{NewLineMark}}954{{NewLineMark}}281{{NewLineMark}}007{{NewLineMark}}791{{NewLineMark}}383{{NewLineMark}}566{{NewLineMark}}248{{NewLineMark}}323{{NewLineMark}}464{{NewLineMark}}908{{NewLineMark}}139{{NewLineMark}}906{{NewLineMark}}605{{NewLineMark}}677{{NewLineMark}}320{{NewLineMark}}762{{NewLineMark}}924{{NewLineMark}}129{{NewLineMark}}509{{NewLineMark}}389{{NewLineMark}}220{{NewLineMark}}345{{NewLineMark}}773{{NewLineMark}}183{{NewLineMark}}349{{NewLineMark}}661{{NewLineMark}}583{{NewLineMark}}550{{NewLineMark}}472{{NewLineMark}}959{{NewLineMark}}420{{NewLineMark}}547{{NewLineMark}}689{{NewLineMark}}811{{NewLineMark}}211{{NewLineMark}}693{{NewLineMark}}677{{NewLineMark}}147{{NewLineMark}}548{{NewLineMark}}478{{NewLineMark}}866{{NewLineMark}}962{{NewLineMark}}501{{NewLineMark}}384{{NewLineMark}}438{{NewLineMark}}260{{NewLineMark}}291{{NewLineMark}}732{{NewLineMark}}348{{NewLineMark}}885{{NewLineMark}}311{{NewLineMark}}160{{NewLineMark}}828{{NewLineMark}}538{{NewLineMark}}416{{NewLineMark}}585{{NewLineMark}}028{{NewLineMark}}255{{NewLineMark}}604{{NewLineMark}}666{{NewLineMark}}224{{NewLineMark}}831{{NewLineMark}}890{{NewLineMark}}918{{NewLineMark}}801{{NewLineMark}}847{{NewLineMark}}068{{NewLineMark}}222{{NewLineMark}}203{{NewLineMark}}140{{NewLineMark}}521{{NewLineMark}}026{{NewLineMark}}698{{NewLineMark}}435{{NewLineMark}}488{{NewLineMark}}732{{NewLineMark}}958{{NewLineMark}}028{{NewLineMark}}878{{NewLineMark}}050{{NewLineMark}}869{{NewLineMark}}736{{NewLineMark}}186{{NewLineMark}}900{{NewLineMark}}714{{NewLineMark}}720{{NewLineMark}}710{{NewLineMark}}555{{NewLineMark}}703{{NewLineMark}}168{{NewLineMark}}729{{NewLineMark}}087
|
---|---|
效果 | M1279=10407932194664399081925240327364085538615262247266704805319112350403608059673360298012239441732324184842421613954281007791383566248323464908139906605677320762924129509389220345773183349661583550472959420547689811211693677147548478866962501384438260291732348885311160828538416585028255604666224831890918801847068222203140521026698435488732958028878050869736186900714720710555703168729087 |
不使用 斷行標記 模板 |
M1279=10407932194664399081925240327364085538615262247266704805319112350403608059673360298012239441732324184842421613954281007791383566248323464908139906605677320762924129509389220345773183349661583550472959420547689811211693677147548478866962501384438260291732348885311160828538416585028255604666224831890918801847068222203140521026698435488732958028878050869736186900714720710555703168729087
|
也可以使用斷行標記模板提供的參數加標點:
原始碼 | M<sub>1279</sub>=10{{NewLineMark|,}}407{{NewLineMark|,}}932{{NewLineMark|,}}194{{NewLineMark|,}}664{{NewLineMark|,}}399{{NewLineMark|,}}081{{NewLineMark|,}}925{{NewLineMark|,}}240{{NewLineMark|,}}327{{NewLineMark|,}}364{{NewLineMark|,}}085{{NewLineMark|,}}538{{NewLineMark|,}}615{{NewLineMark|,}}262{{NewLineMark|,}}247{{NewLineMark|,}}266{{NewLineMark|,}}704{{NewLineMark|,}}805{{NewLineMark|,}}319{{NewLineMark|,}}112{{NewLineMark|,}}350{{NewLineMark|,}}403{{NewLineMark|,}}608{{NewLineMark|,}}059{{NewLineMark|,}}673{{NewLineMark|,}}360{{NewLineMark|,}}298{{NewLineMark|,}}012{{NewLineMark|,}}239{{NewLineMark|,}}441{{NewLineMark|,}}732{{NewLineMark|,}}324{{NewLineMark|,}}184{{NewLineMark|,}}842{{NewLineMark|,}}421{{NewLineMark|,}}613{{NewLineMark|,}}954{{NewLineMark|,}}281{{NewLineMark|,}}007{{NewLineMark|,}}791{{NewLineMark|,}}383{{NewLineMark|,}}566{{NewLineMark|,}}248{{NewLineMark|,}}323{{NewLineMark|,}}464{{NewLineMark|,}}908{{NewLineMark|,}}139{{NewLineMark|,}}906{{NewLineMark|,}}605{{NewLineMark|,}}677{{NewLineMark|,}}320{{NewLineMark|,}}762{{NewLineMark|,}}924{{NewLineMark|,}}129{{NewLineMark|,}}509{{NewLineMark|,}}389{{NewLineMark|,}}220{{NewLineMark|,}}345{{NewLineMark|,}}773{{NewLineMark|,}}183{{NewLineMark|,}}349{{NewLineMark|,}}661{{NewLineMark|,}}583{{NewLineMark|,}}550{{NewLineMark|,}}472{{NewLineMark|,}}959{{NewLineMark|,}}420{{NewLineMark|,}}547{{NewLineMark|,}}689{{NewLineMark|,}}811{{NewLineMark|,}}211{{NewLineMark|,}}693{{NewLineMark|,}}677{{NewLineMark|,}}147{{NewLineMark|,}}548{{NewLineMark|,}}478{{NewLineMark|,}}866{{NewLineMark|,}}962{{NewLineMark|,}}501{{NewLineMark|,}}384{{NewLineMark|,}}438{{NewLineMark|,}}260{{NewLineMark|,}}291{{NewLineMark|,}}732{{NewLineMark|,}}348{{NewLineMark|,}}885{{NewLineMark|,}}311{{NewLineMark|,}}160{{NewLineMark|,}}828{{NewLineMark|,}}538{{NewLineMark|,}}416{{NewLineMark|,}}585{{NewLineMark|,}}028{{NewLineMark|,}}255{{NewLineMark|,}}604{{NewLineMark|,}}666{{NewLineMark|,}}224{{NewLineMark|,}}831{{NewLineMark|,}}890{{NewLineMark|,}}918{{NewLineMark|,}}801{{NewLineMark|,}}847{{NewLineMark|,}}068{{NewLineMark|,}}222{{NewLineMark|,}}203{{NewLineMark|,}}140{{NewLineMark|,}}521{{NewLineMark|,}}026{{NewLineMark|,}}698{{NewLineMark|,}}435{{NewLineMark|,}}488{{NewLineMark|,}}732{{NewLineMark|,}}958{{NewLineMark|,}}028{{NewLineMark|,}}878{{NewLineMark|,}}050{{NewLineMark|,}}869{{NewLineMark|,}}736{{NewLineMark|,}}186{{NewLineMark|,}}900{{NewLineMark|,}}714{{NewLineMark|,}}720{{NewLineMark|,}}710{{NewLineMark|,}}555{{NewLineMark|,}}703{{NewLineMark|,}}168{{NewLineMark|,}}729{{NewLineMark|,}}087
|
---|---|
效果 | M1279=10,407,932,194,664,399,081,925,240,327,364,085,538,615,262,247,266,704,805,319,112,350,403,608,059,673,360,298,012,239,441,732,324,184,842,421,613,954,281,007,791,383,566,248,323,464,908,139,906,605,677,320,762,924,129,509,389,220,345,773,183,349,661,583,550,472,959,420,547,689,811,211,693,677,147,548,478,866,962,501,384,438,260,291,732,348,885,311,160,828,538,416,585,028,255,604,666,224,831,890,918,801,847,068,222,203,140,521,026,698,435,488,732,958,028,878,050,869,736,186,900,714,720,710,555,703,168,729,087 |
不使用 斷行標記 模板 |
M1279=10,407,932,194,664,399,081,925,240,327,364,085,538,615,262,247,266,704,805,319,112,350,403,608,059,673,360,298,012,239,441,732,324,184,842,421,613,954,281,007,791,383,566,248,323,464,908,139,906,605,677,320,762,924,129,509,389,220,345,773,183,349,661,583,550,472,959,420,547,689,811,211,693,677,147,548,478,866,962,501,384,438,260,291,732,348,885,311,160,828,538,416,585,028,255,604,666,224,831,890,918,801,847,068,222,203,140,521,026,698,435,488,732,958,028,878,050,869,736,186,900,714,720,710,555,703,168,729,087
|
模板數據
用來添加換行標記符號
参数 | 描述 | 类型 | 状态 | |
---|---|---|---|---|
標點符號 | 1 | 換行標記前要附帶的標點符號 | 字符串 | 可选 |
參見
- {{wbr}}