providers/nodebb/format.js
function threeParts(before, item1, defaultItem1, middle, item2, after) {
    item2 = stringify(item2);
    item1 = stringify(item1);
    if (!item2) {
        return '';
    }
    return before + (item1 || defaultItem1) + middle + item2 + after;
}
function threeParts(before, item1, defaultItem1, middle, item2, after) {
    item2 = stringify(item2);
    item1 = stringify(item1);
    if (!item2) {
        return '';
    }
    return before + (item1 || defaultItem1) + middle + item2 + after;
}
function threeParts ( before , item1 , defaultItem1 , middle , item2 , after ) { item2 = stringify ( item2 ) ; item1 = stringify ( item1 ) ; if ( ! item2 ) { return '' ; } return before + ( item1 || defaultItem1 ) + middle + item2 + after ; }
Construct a result consisting of two data points in three parts

@private
@param {string} before Prefix
@param {*} item1 First part
@param {string} defaultItem1 Value to use for item1 when item1 is falsy
@param {string} middle part to go between item1 and item2
@param {*} item2 Second Part
@param {string} after Suffix
@returns {string} Formatted thing
Construct a result consisting of two data points in three parts