模板: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}}